diff --git a/.travis.yml b/.travis.yml index 64d23f0dc..5cb0b63a3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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]+$