From e715251cb274146dfe3790e865ef116ad495b47d Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 2 Aug 2016 00:40:26 +0200 Subject: [PATCH] Only install deps for default job. --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b581f520d..ad1c3f779 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