Skip to content
This repository has been archived by the owner on Jul 24, 2020. It is now read-only.

Commit

Permalink
Fix Travis script (remove sudo)
Browse files Browse the repository at this point in the history
  • Loading branch information
orenyk committed Jul 12, 2018
1 parent 655fbf0 commit a12b45f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit a12b45f

Please sign in to comment.