aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Kostenko <limexp@mail.ru>2017-10-20 18:32:01 +0800
committerGitHub <noreply@github.com>2017-10-20 18:32:01 +0800
commit3041def259f106d8f2c235ab4b387b9e9de8e317 (patch)
tree060a1f91682abf8367b9b7c54f67647de6961484
parentf0af4019efb35982823feaadea22198016ca0100 (diff)
downloaddexon-solidity-3041def259f106d8f2c235ab4b387b9e9de8e317.tar.gz
dexon-solidity-3041def259f106d8f2c235ab4b387b9e9de8e317.tar.zst
dexon-solidity-3041def259f106d8f2c235ab4b387b9e9de8e317.zip
No bytecodecompare if tests failed (issue #2300)
-rw-r--r--.travis.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index cf40a74a..4fc76c49 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -183,9 +183,11 @@ before_script:
&& scripts/create_source_tarball.sh)
script:
- - test $SOLC_EMSCRIPTEN != On || (scripts/test_emscripten.sh) || SOLC_STOREBYTECODE=Off
+ - test $SOLC_EMSCRIPTEN != On || (scripts/test_emscripten.sh)
+ - [[ $? == 0 ]] || SOLC_STOREBYTECODE=Off
- test $SOLC_DOCS != On || (scripts/docs.sh)
- - test $SOLC_TESTS != On || (cd $TRAVIS_BUILD_DIR && scripts/tests.sh) || SOLC_STOREBYTECODE=Off
+ - test $SOLC_TESTS != On || (cd $TRAVIS_BUILD_DIR && scripts/tests.sh)
+ - [[ $? == 0 ]] || SOLC_STOREBYTECODE=Off
- test $SOLC_STOREBYTECODE != On || (cd $TRAVIS_BUILD_DIR && scripts/bytecodecompare/storebytecode.sh)
deploy: