Skip to content

Commit

Permalink
install required packages on OSX (travis)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptomulik committed Apr 8, 2016
1 parent 47698fc commit e566d4d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .travis.yml
Expand Up @@ -14,7 +14,14 @@ rvm:
- 2.2.1
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gnu-tar ; fi
# dpkg has also gnu-tar and xz as dependencies, these packages are used
# by pacman.rb, for example.
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install dpkg ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then which dpkg-deb || 'dpkg-deb not found'; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then which lintian || echo 'lintian not found'; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then which python || brew install python; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then which easy_install || echo 'easy_install not found'; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then which rpm || brew install rpm ; fi
script: bundle exec rspec
addons:
apt:
Expand Down

0 comments on commit e566d4d

Please sign in to comment.