TravisCI: simplify brew commands

This commit is contained in:
Chocobo1 2015-09-15 23:24:56 +08:00
parent 7b3cda0f9a
commit a8a30aa1c1
1 changed files with 1 additions and 2 deletions

View File

@ -30,8 +30,7 @@ compiler:
- clang
before_install:
- 'if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; fi'
- 'if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install libevent; fi'
- 'if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update > /dev/null && brew install libevent; fi'
script:
- 'cd $TRAVIS_BUILD_DIR && cd $PROJECT'