aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-08-02 06:40:26 +0800
committerchriseth <c@ethdev.com>2016-08-02 17:18:28 +0800
commite715251cb274146dfe3790e865ef116ad495b47d (patch)
treecad4ddfbc580e45cec14a9a6d95de62cdbfc0750
parent7ae2cb872a2ba840271d9d8be714338faefc12a0 (diff)
downloaddexon-solidity-e715251cb274146dfe3790e865ef116ad495b47d.tar.gz
dexon-solidity-e715251cb274146dfe3790e865ef116ad495b47d.tar.zst
dexon-solidity-e715251cb274146dfe3790e865ef116ad495b47d.zip
Only install deps for default job.
-rw-r--r--.travis.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index b581f520..ad1c3f77 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -36,12 +36,14 @@ matrix:
include:
- os: linux
dist: trusty
+ sudo: required
compiler: gcc
env:
- TRAVIS_BUILD_TYPE=RelWithDebInfo
- ZIP_SUFFIX=ubuntu-trusty
- os: linux
dist: trusty
+ sudo: required
compiler: gcc
env:
- JOB=docs
@@ -84,7 +86,7 @@ cache:
- jsoncpp
install:
- - ./scripts/install_deps.sh
+ - test $JOB != default || ./scripts/install_deps.sh
before_script:
- test $JOB != emscripten || ./scripts/build_emscripten.sh
- test $JOB != default || (mkdir -p build