aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-02-12 02:03:47 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-02-12 02:03:47 +0800
commita2bcb0008b2278ef469111081708a2274413c5ee (patch)
treee524b260cc05e23b247e197c2cc4505295598fea /.travis.yml
parent14ded4963d2b42443c6ddce8ad7550393ab58983 (diff)
downloaddexon-solidity-a2bcb0008b2278ef469111081708a2274413c5ee.tar
dexon-solidity-a2bcb0008b2278ef469111081708a2274413c5ee.tar.gz
dexon-solidity-a2bcb0008b2278ef469111081708a2274413c5ee.tar.bz2
dexon-solidity-a2bcb0008b2278ef469111081708a2274413c5ee.tar.lz
dexon-solidity-a2bcb0008b2278ef469111081708a2274413c5ee.tar.xz
dexon-solidity-a2bcb0008b2278ef469111081708a2274413c5ee.tar.zst
dexon-solidity-a2bcb0008b2278ef469111081708a2274413c5ee.zip
Run every travis script in a subshell
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml24
1 files changed, 12 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml
index df8b4ebb..cfbadb85 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -168,18 +168,18 @@ cache:
- $HOME/.local
install:
- - test $SOLC_INSTALL_DEPS_TRAVIS != On || ./scripts/install_deps.sh
- - test "$TRAVIS_OS_NAME" != "linux" || ./scripts/install_cmake.sh
+ - 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 .)
before_script:
- - test $SOLC_EMSCRIPTEN != On || ./scripts/build_emscripten.sh
- - test $SOLC_RELEASE != On || (./scripts/build.sh $SOLC_BUILD_TYPE
- && ./scripts/release.sh $ZIP_SUFFIX
- && ./scripts/create_source_tarball.sh )
+ - test $SOLC_EMSCRIPTEN != On || (scripts/build_emscripten.sh)
+ - test $SOLC_RELEASE != On || (scripts/build.sh $SOLC_BUILD_TYPE
+ && scripts/release.sh $ZIP_SUFFIX
+ && scripts/create_source_tarball.sh)
script:
- - test $SOLC_DOCS != On || ./scripts/docs.sh
- - test $SOLC_TESTS != On || (cd $TRAVIS_BUILD_DIR && ./scripts/tests.sh )
+ - test $SOLC_DOCS != On || (scripts/docs.sh)
+ - test $SOLC_TESTS != On || (cd $TRAVIS_BUILD_DIR && scripts/tests.sh)
deploy:
# This is the deploy target for the Emscripten build.
@@ -190,7 +190,7 @@ deploy:
# scripts because TravisCI doesn't provide much in the way of conditional logic.
- provider: script
- script: test $SOLC_EMSCRIPTEN == On || scripts/release_emscripten.sh
+ script: test $SOLC_EMSCRIPTEN == On || (scripts/release_emscripten.sh)
skip_cleanup: true
on:
branch:
@@ -200,7 +200,7 @@ deploy:
# as a nightly and appended the commit of the branch it was pushed in. If we are pushing to master it will
# be tagged as "stable" and given the version tag as well.
- provider: script
- script: test $SOLC_DOCKER != On || ./scripts/docker_deploy.sh
+ script: test $SOLC_DOCKER != On || (scripts/docker_deploy.sh)
skip_cleanup: true
on:
branch:
@@ -223,4 +223,4 @@ deploy:
on:
all_branches: true
tags: true
- condition: $SOLC_RELEASE == On \ No newline at end of file
+ condition: $SOLC_RELEASE == On