aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Kostenko <limexp@mail.ru>2017-10-20 05:41:56 +0800
committerBoris Kostenko <limexp@mail.ru>2017-10-20 05:41:56 +0800
commitf0af4019efb35982823feaadea22198016ca0100 (patch)
tree5dc9de8eef4c682adea99a0d2214525a73d859d8
parent4e7d1440ab84ba0566c7c75ff61b2f9e70738ef4 (diff)
downloaddexon-solidity-f0af4019efb35982823feaadea22198016ca0100.tar.gz
dexon-solidity-f0af4019efb35982823feaadea22198016ca0100.tar.zst
dexon-solidity-f0af4019efb35982823feaadea22198016ca0100.zip
No bytecodecompare if tests failed (issue #2300)
-rw-r--r--.travis.yml4
-rw-r--r--appveyor.yml9
2 files changed, 6 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index 708d3620..cf40a74a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -183,9 +183,9 @@ before_script:
&& scripts/create_source_tarball.sh)
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_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)
deploy:
diff --git a/appveyor.yml b/appveyor.yml
index c63414b3..c4584228 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -68,15 +68,14 @@ build_script:
- cd %APPVEYOR_BUILD_FOLDER%
- scripts\release.bat %CONFIGURATION%
- ps: $bytecodedir = git show -s --format="%cd-%H" --date=short
-# 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
+# Skip bytecode compare if private key is not available
+ - ps: if ($env:priv_key) {
+ scripts\bytecodecompare\storebytecode.bat $Env:CONFIGURATION $bytecodedir
+ }
artifacts:
- path: solidity-windows.zip