#!/bin/bash

yarn run test:removeTmpDir &&
yarn run test:compile &&
$(yarn bin)/nyc $(yarn bin)/mocha -- test-tmp/test/index.spec.js --exit &&
$(yarn bin)/nyc report --reporter=text-lcov | $(yarn bin)/coveralls &&
yarn run test:removeTmpDir