mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #3113 from limexp/fix/2300-skip-bytecodecompare
No bytecodecompare if tests failed (issue #2300)
This commit is contained in:
commit
31318305f3
@ -184,8 +184,10 @@ before_script:
|
||||
|
||||
script:
|
||||
- test $SOLC_EMSCRIPTEN != On || (scripts/test_emscripten.sh)
|
||||
- test $? == 0 || SOLC_STOREBYTECODE=Off
|
||||
- test $SOLC_DOCS != On || (scripts/docs.sh)
|
||||
- test $SOLC_TESTS != On || (cd $TRAVIS_BUILD_DIR && scripts/tests.sh)
|
||||
- test $? == 0 || SOLC_STOREBYTECODE=Off
|
||||
- test $SOLC_STOREBYTECODE != On || (cd $TRAVIS_BUILD_DIR && scripts/bytecodecompare/storebytecode.sh)
|
||||
|
||||
deploy:
|
||||
|
@ -68,16 +68,15 @@ build_script:
|
||||
- cd %APPVEYOR_BUILD_FOLDER%
|
||||
- scripts\release.bat %CONFIGURATION%
|
||||
- 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
|
||||
- ps: if ($env:priv_key) {
|
||||
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:
|
||||
- path: solidity-windows.zip
|
||||
name: solidity-windows-zip
|
||||
|
Loading…
Reference in New Issue
Block a user