No bytecodecompare if tests failed (issue #2300)

This commit is contained in:
Boris Kostenko 2017-10-20 00:41:56 +03:00
parent 4e7d1440ab
commit f0af4019ef
2 changed files with 6 additions and 7 deletions

View File

@ -183,9 +183,9 @@ before_script:
&& scripts/create_source_tarball.sh) && scripts/create_source_tarball.sh)
script: script:
- test $SOLC_EMSCRIPTEN != On || (scripts/test_emscripten.sh) - test $SOLC_EMSCRIPTEN != On || (scripts/test_emscripten.sh) || 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) - test $SOLC_TESTS != On || (cd $TRAVIS_BUILD_DIR && scripts/tests.sh) || 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:

View File

@ -68,16 +68,15 @@ build_script:
- cd %APPVEYOR_BUILD_FOLDER% - cd %APPVEYOR_BUILD_FOLDER%
- scripts\release.bat %CONFIGURATION% - scripts\release.bat %CONFIGURATION%
- ps: $bytecodedir = git show -s --format="%cd-%H" --date=short - ps: $bytecodedir = git show -s --format="%cd-%H" --date=short
test_script:
- cd %APPVEYOR_BUILD_FOLDER%\build\test\%CONFIGURATION%
- soltest.exe --show-progress -- --no-ipc --no-smt
# Skip bytecode compare if private key is not available # Skip bytecode compare if private key is not available
- ps: if ($env:priv_key) { - ps: if ($env:priv_key) {
scripts\bytecodecompare\storebytecode.bat $Env:CONFIGURATION $bytecodedir scripts\bytecodecompare\storebytecode.bat $Env:CONFIGURATION $bytecodedir
} }
test_script:
- cd %APPVEYOR_BUILD_FOLDER%
- cd %APPVEYOR_BUILD_FOLDER%\build\test\%CONFIGURATION%
- soltest.exe --show-progress -- --no-ipc --no-smt
artifacts: artifacts:
- path: solidity-windows.zip - path: solidity-windows.zip
name: solidity-windows-zip name: solidity-windows-zip