Run tests in constantinople mode too

This commit is contained in:
Alex Beregszaszi 2018-04-06 12:20:01 +02:00
parent 5f76f47f2e
commit 4450034174

View File

@ -99,11 +99,18 @@ then
progress="" progress=""
fi 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 then run the Solidity unit-tests in the matrix combination of optimizer / no optimizer
# and homestead / byzantium VM, # pointing to that IPC endpoint. # and homestead / byzantium VM, # pointing to that IPC endpoint.
for optimize in "" "--optimize" for optimize in "" "--optimize"
do do
for vm in homestead byzantium for vm in $EVM_VERSIONS
do do
echo "--> Running tests using "$optimize" --evm-version "$vm"..." echo "--> Running tests using "$optimize" --evm-version "$vm"..."
log="" log=""