Add travis job to run test suite with solc nightly (#902)
Job is allowed to fail, and is run just for information purposes
This commit is contained in:
committed by
GitHub
parent
61dfdde6c4
commit
0b33d29e41
@ -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:
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user