From 3041def259f106d8f2c235ab4b387b9e9de8e317 Mon Sep 17 00:00:00 2001 From: Boris Kostenko Date: Fri, 20 Oct 2017 13:32:01 +0300 Subject: [PATCH] No bytecodecompare if tests failed (issue #2300) --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index cf40a74a4..4fc76c493 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: