From 44500341748070bd1ad97046b915bf2c76b1eb9b Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Fri, 6 Apr 2018 12:20:01 +0200 Subject: [PATCH] Run tests in constantinople mode too --- scripts/tests.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/tests.sh b/scripts/tests.sh index 2e40f8cb8..542c932a3 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=""