diff options
author | Joe Francis <joe@lostapathy.com> | 2017-12-05 08:23:30 -0600 |
---|---|---|
committer | Joe Francis <joe@lostapathy.com> | 2017-12-05 13:25:28 -0600 |
commit | 6ec0ed67d9afcc666ad0424b10e9903f63e60714 (patch) | |
tree | d5fdd1eb77b16b37941780c038aae11943244ec5 | |
parent | 07788c7ad8bad797ec97cba038e37e007f343afa (diff) | |
download | rails-6ec0ed67d9afcc666ad0424b10e9903f63e60714.tar.gz rails-6ec0ed67d9afcc666ad0424b10e9903f63e60714.tar.bz2 rails-6ec0ed67d9afcc666ad0424b10e9903f63e60714.zip |
only install ffmpeg and mupdf on activestorage builds
These are needed when GEM=ast, thanks @georgeclaghorn
-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' |