aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-03-17 01:36:48 +0800
committerchriseth <chris@ethereum.org>2017-03-17 19:33:40 +0800
commit3f83bb80bfcf40b7a3c9ca9977eb3859c289e6e9 (patch)
tree61f878b49c15b14dce2e37bf43dc7891a58b519d /.travis.yml
parent245c8914cf06b086fc7cd46e4158e9eda2b324ec (diff)
downloaddexon-solidity-3f83bb80bfcf40b7a3c9ca9977eb3859c289e6e9.tar
dexon-solidity-3f83bb80bfcf40b7a3c9ca9977eb3859c289e6e9.tar.gz
dexon-solidity-3f83bb80bfcf40b7a3c9ca9977eb3859c289e6e9.tar.bz2
dexon-solidity-3f83bb80bfcf40b7a3c9ca9977eb3859c289e6e9.tar.lz
dexon-solidity-3f83bb80bfcf40b7a3c9ca9977eb3859c289e6e9.tar.xz
dexon-solidity-3f83bb80bfcf40b7a3c9ca9977eb3859c289e6e9.tar.zst
dexon-solidity-3f83bb80bfcf40b7a3c9ca9977eb3859c289e6e9.zip
Publish soljson and alpine static build on github release page.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml12
1 files changed, 7 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index b722dacd..f0a66255 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -176,7 +176,12 @@ install:
- test $SOLC_INSTALL_DEPS_TRAVIS != On || (scripts/install_deps.sh)
- test "$TRAVIS_OS_NAME" != "linux" || (scripts/install_cmake.sh)
- echo -n "$TRAVIS_COMMIT" > commit_hash.txt
- - test $SOLC_DOCKER != On || (docker build -t ethereum/solc:build -f scripts/Dockerfile .)
+ - test $SOLC_DOCKER != On || (
+ docker build -t ethereum/solc:build -f scripts/Dockerfile .
+ tmp_container=$(docker create brainbot-com/solidity-static sh)
+ mkdir -p upload
+ docker cp ${tmp_container}:/usr/local/bin/solc upload/
+ )
before_script:
- test $SOLC_EMSCRIPTEN != On || (scripts/build_emscripten.sh)
@@ -223,11 +228,8 @@ deploy:
overwrite: true
file_glob: true
- file:
- - $TRAVIS_BUILD_DIR/solidity*.zip
- - $TRAVIS_BUILD_DIR/solidity*tar.gz
+ file: $TRAVIS_BUILD_DIR/upload/*
skip_cleanup: true
on:
all_branches: true
tags: true
- condition: $SOLC_RELEASE == On