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:
|
env:
|
||||||
-
|
-
|
||||||
- SOLIDITY_COVERAGE=true
|
- SOLIDITY_COVERAGE=true
|
||||||
|
- SOLC_NIGHTLY=true
|
||||||
matrix:
|
matrix:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- env: SOLIDITY_COVERAGE=true
|
- env: SOLIDITY_COVERAGE=true
|
||||||
|
- env: SOLC_NIGHTLY=true
|
||||||
before_script:
|
before_script:
|
||||||
- truffle version
|
- truffle version
|
||||||
script:
|
script:
|
||||||
|
|||||||
@ -54,6 +54,11 @@ else
|
|||||||
start_ganache
|
start_ganache
|
||||||
fi
|
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
|
if [ "$SOLIDITY_COVERAGE" = true ]; then
|
||||||
node_modules/.bin/solidity-coverage
|
node_modules/.bin/solidity-coverage
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user