Use before_install checks to install Ragel on OS X

This commit is contained in:
Yorick Peterse 2015-09-17 13:29:04 +02:00
parent 205feaf704
commit cd2195ef1d
1 changed files with 3 additions and 6 deletions

View File

@ -10,12 +10,9 @@ addons:
packages:
- ragel
matrix:
include:
- env: TRAVIS_OS_NAME=osx
install:
- brew update
- brew install ragel
before_install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install ragel; fi
install:
- bundle install --retry=3