aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-04-06 18:20:01 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-04-10 22:29:55 +0800
commit44500341748070bd1ad97046b915bf2c76b1eb9b (patch)
treea853258ff8c05733ab6b84d3ea7238027e970d46 /scripts
parent5f76f47f2edabe7be335575d80722a94a847587a (diff)
downloaddexon-solidity-44500341748070bd1ad97046b915bf2c76b1eb9b.tar.gz
dexon-solidity-44500341748070bd1ad97046b915bf2c76b1eb9b.tar.zst
dexon-solidity-44500341748070bd1ad97046b915bf2c76b1eb9b.zip
Run tests in constantinople mode too
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tests.sh9
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=""