aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-08-23 22:45:08 +0800
committerchriseth <c@ethdev.com>2016-08-26 16:14:44 +0800
commit4588eda622c9ef2cb62252ec12ea7bb9ae057bd1 (patch)
treebb88177ba342758d775703afd0fe9a1ab8de1921 /.travis.yml
parent54ab787b83275fd374b3951ec3efa577c954bd1a (diff)
downloaddexon-solidity-4588eda622c9ef2cb62252ec12ea7bb9ae057bd1.tar
dexon-solidity-4588eda622c9ef2cb62252ec12ea7bb9ae057bd1.tar.gz
dexon-solidity-4588eda622c9ef2cb62252ec12ea7bb9ae057bd1.tar.bz2
dexon-solidity-4588eda622c9ef2cb62252ec12ea7bb9ae057bd1.tar.lz
dexon-solidity-4588eda622c9ef2cb62252ec12ea7bb9ae057bd1.tar.xz
dexon-solidity-4588eda622c9ef2cb62252ec12ea7bb9ae057bd1.tar.zst
dexon-solidity-4588eda622c9ef2cb62252ec12ea7bb9ae057bd1.zip
Store commit hash and handle prerelease vor all automation tools.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 9dc17899..e0716ac7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -141,6 +141,8 @@ cache:
install:
- test $TRAVIS_INSTALL_DEPS != On || ./scripts/install_deps.sh
+ - echo -n "$TRAVIS_COMMIT" > commit_hash.txt
+ - test "$TRAVIS_PULL_REQUESTS" != "false" || test "$TRAVIS_BRANCH" != release || echo -n > prerelease.txt # this is a proper release
before_script:
- test $TRAVIS_EMSCRIPTEN != On || ./scripts/build_emscripten.sh
- test $TRAVIS_RELEASE != On || (mkdir -p build