diff options
author | George Claghorn <george.claghorn@gmail.com> | 2017-12-05 14:56:32 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-05 14:56:32 -0500 |
commit | 7544cf7603959f25100b21f70b5e70354bed7e45 (patch) | |
tree | b5a106296513d0c02a565d1330d65a1339cda818 | |
parent | 12fa2ea5dcf2aa0ac35ab5f0e6cac9d673f282c3 (diff) | |
parent | 6ec0ed67d9afcc666ad0424b10e9903f63e60714 (diff) | |
download | rails-7544cf7603959f25100b21f70b5e70354bed7e45.tar.gz rails-7544cf7603959f25100b21f70b5e70354bed7e45.tar.bz2 rails-7544cf7603959f25100b21f70b5e70354bed7e45.zip |
Merge pull request #31339 from lostapathy/speedup_travis
Speed up travis by only installing packages when needed
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 290e0b5f2b..fd3b3f9002 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,10 +20,6 @@ addons: sources: - sourceline: "ppa:mc3man/trusty-media" - sourceline: "ppa:ubuntuhandbook1/apps" - packages: - - ffmpeg - - mupdf - - mupdf-tools bundler_args: --without test --jobs 3 --retry 3 before_install: @@ -42,6 +38,7 @@ before_script: # Decodes to e.g. `export VARIABLE=VALUE` - $(base64 --decode <<< "ZXhwb3J0IFNBVUNFX0FDQ0VTU19LRVk9YTAzNTM0M2YtZTkyMi00MGIzLWFhM2MtMDZiM2VhNjM1YzQ4") - $(base64 --decode <<< "ZXhwb3J0IFNBVUNFX1VTRVJOQU1FPXJ1YnlvbnJhaWxz") + - if [[ $GEM = *ast* ]] ; then sudo apt-get update && sudo apt-get -y install ffmpeg mupdf mupdf-tools ; fi script: 'ci/travis.rb' |