diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-04-06 18:20:01 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-04-10 22:29:55 +0800 |
commit | 44500341748070bd1ad97046b915bf2c76b1eb9b (patch) | |
tree | a853258ff8c05733ab6b84d3ea7238027e970d46 | |
parent | 5f76f47f2edabe7be335575d80722a94a847587a (diff) | |
download | dexon-solidity-44500341748070bd1ad97046b915bf2c76b1eb9b.tar dexon-solidity-44500341748070bd1ad97046b915bf2c76b1eb9b.tar.gz dexon-solidity-44500341748070bd1ad97046b915bf2c76b1eb9b.tar.bz2 dexon-solidity-44500341748070bd1ad97046b915bf2c76b1eb9b.tar.lz dexon-solidity-44500341748070bd1ad97046b915bf2c76b1eb9b.tar.xz dexon-solidity-44500341748070bd1ad97046b915bf2c76b1eb9b.tar.zst dexon-solidity-44500341748070bd1ad97046b915bf2c76b1eb9b.zip |
Run tests in constantinople mode too
-rwxr-xr-x | scripts/tests.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/tests.sh b/scripts/tests.sh index 2e40f8cb..542c932a 100755 --- a/scripts/tests.sh +++ b/scripts/tests.sh @@ -99,11 +99,18 @@ then progress="" fi +EVM_VERSIONS="homestead byzantium" + +if [ "$CIRCLECI" ] || [ -z "$CI" ] +then +EVM_VERSIONS+=" constantinople" +fi + # And then run the Solidity unit-tests in the matrix combination of optimizer / no optimizer # and homestead / byzantium VM, # pointing to that IPC endpoint. for optimize in "" "--optimize" do - for vm in homestead byzantium + for vm in $EVM_VERSIONS do echo "--> Running tests using "$optimize" --evm-version "$vm"..." log="" |