No bytecodecompare if tests failed (issue #2300)

This commit is contained in:
Boris Kostenko 2017-10-20 13:32:01 +03:00 committed by GitHub
parent f0af4019ef
commit 3041def259

View File

@ -183,9 +183,11 @@ before_script:
&& scripts/create_source_tarball.sh) && scripts/create_source_tarball.sh)
script: 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_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) - test $SOLC_STOREBYTECODE != On || (cd $TRAVIS_BUILD_DIR && scripts/bytecodecompare/storebytecode.sh)
deploy: deploy: