From 0b33d29e411893b134ad67ca92043e8629c44325 Mon Sep 17 00:00:00 2001 From: Santiago Palladino Date: Thu, 19 Apr 2018 12:12:36 -0300 Subject: [PATCH] Add travis job to run test suite with solc nightly (#902) Job is allowed to fail, and is run just for information purposes --- .travis.yml | 2 ++ scripts/test.sh | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index 37c47181e..f36327d84 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,10 +10,12 @@ cache: env: - - SOLIDITY_COVERAGE=true + - SOLC_NIGHTLY=true matrix: fast_finish: true allow_failures: - env: SOLIDITY_COVERAGE=true + - env: SOLC_NIGHTLY=true before_script: - truffle version script: diff --git a/scripts/test.sh b/scripts/test.sh index 8568a7f49..14bad1adc 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -54,6 +54,11 @@ else start_ganache fi +if [ "$SOLC_NIGHTLY" = true ]; then + echo "Downloading solc nightly" + wget -q https://raw.githubusercontent.com/ethereum/solc-bin/gh-pages/bin/soljson-nightly.js -O /tmp/soljson.js && find . -name soljson.js -exec cp /tmp/soljson.js {} \; +fi + if [ "$SOLIDITY_COVERAGE" = true ]; then node_modules/.bin/solidity-coverage