aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-02-27 23:38:16 +0800
committerchriseth <chris@ethereum.org>2018-02-27 23:39:03 +0800
commit8899812ff2f5c0323001c792e94b98788ca4c6e6 (patch)
tree7ad329b25f8f596a97bfbe6519809a650812dcad /.travis.yml
parent6d8dee586c592b3ed34143b0e4c6cba3b704fa84 (diff)
downloaddexon-solidity-8899812ff2f5c0323001c792e94b98788ca4c6e6.tar.gz
dexon-solidity-8899812ff2f5c0323001c792e94b98788ca4c6e6.tar.zst
dexon-solidity-8899812ff2f5c0323001c792e94b98788ca4c6e6.zip
Disable tests for travis on non-release and non-tag branches.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 0b05f661..ed4584ef 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -159,6 +159,7 @@ cache:
install:
- test $SOLC_INSTALL_DEPS_TRAVIS != On || (scripts/install_deps.sh)
- test "$TRAVIS_OS_NAME" != "linux" || (scripts/install_cmake.sh)
+ - if [ "$TRAVIS_BRANCH" != release -a -z "$TRAVIS_TAG" ]; then SOLC_TESTS=Off; fi
- if [ "$TRAVIS_BRANCH" = release -o -n "$TRAVIS_TAG" ]; then echo -n > prerelease.txt; else date -u +"nightly.%Y.%-m.%-d" > prerelease.txt; fi
- echo -n "$TRAVIS_COMMIT" > commit_hash.txt