diff --git a/.travis.yml b/.travis.yml index 40d4f1d1e..1707dc6bd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,10 +10,14 @@ env: # Code Climate Integration secure: IHUYMK2spxorl9lUeAbAfT6btuP2qRT615bUnEuUDgYrXf9y1CdQprYWJaygou/+6aWmLL0NnxYSpOxi40bHgMKeUQnTjXVbkkqQ1Tml3cMSsjkBrx7CNUygHvDDzCQCEC6m9uZjUKMZAVzVSWlOQhSMKR7MtdsSvMCrKIgA2pM= +addons: + apt: + packages: + - ghostscript + before_install: - if [ $TRAVIS_PULL_REQUEST == "false" ]; then git clone https://github.com/$TRAVIS_REPO_SLUG.git $TRAVIS_REPO_SLUG && cd $TRAVIS_REPO_SLUG && git checkout -qf $TRAVIS_BRANCH; fi - if [ $TRAVIS_PULL_REQUEST == "true" ]; then git checkout -qf master && git checkout -qf $TRAVIS_COMMIT; fi - - sudo apt-get install ghostscript - convert -version - gs -v - 'echo ''gem: --no-ri --no-rdoc'' > ~/.gemrc'