Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Travis run tests and coverage in parallel #369

Merged
merged 2 commits into from
Aug 19, 2017

Conversation

frangio
Copy link
Contributor

@frangio frangio commented Aug 14, 2017

  1. Modified scripts/test.sh to run coverage analysis when SOLIDITY_COVERAGE=true in the environment. (And to send coverage reports to Coveralls if CONTINUOUS_INTEGRATION=true.)
  2. Set up a build matrix in Travis CI to run tests and coverage in parallel, and allowed the Travis build to finish as soon as the tests are done.

The Travis build runs in less than half the time now. 馃帀

There will be two build jobs now, as shown below. The first one is tests, and the second one is coverage.

capture-2017-08-14t12 00 q8n7

@frangio frangio merged commit 1626c00 into OpenZeppelin:master Aug 19, 2017
@frangio frangio deleted the parallelize-travis branch August 19, 2017 21:34
ProphetDaniel pushed a commit to classicdelta/Smart-Contracts that referenced this pull request Mar 9, 2018
Make Travis run tests and coverage in parallel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant