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