Trying to get the Travis build to pass.

This commit is contained in:
Nicolás Venturo
2018-10-09 18:59:58 -03:00
parent bc7ba69f9b
commit 45747144ff

View File

@ -19,8 +19,10 @@ jobs:
- env: SOLC_NIGHTLY=true
include:
- stage: install
script: npm install
script: npx npm-install-peers
script: true
install:
- npm install
- npx npm-install-peers
# Run the unit test suite three times in parallel.
# The first one gets results faster and is the only one required to pass.
# The second one generates the coverage report.
@ -28,18 +30,22 @@ jobs:
# upcoming solidity release.
- stage: tests
name: "unit tests"
install: npx npm-install-peers
script: npm run test
- stage: tests
name: "unit tests with coverage"
install: npx npm-install-peers
script: npm run test
env: SOLIDITY_COVERAGE=true
- stage: tests
name: "unit tests with solc nightly"
install: npx npm-install-peers
script: npm run test
env: SOLC_NIGHTLY=true
# solidity and javascript style tests.
- stage: tests
name: "static tests"
install: npx npm-install-peers
script: npm run lint
- stage: update docs
if: tag =~ ^v[0-9]+\.[0-9]+\.[0-9]+$