From a8a30aa1c12a1282d6d68c1dc0f43a0b190ca186 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Tue, 15 Sep 2015 23:24:56 +0800 Subject: [PATCH] TravisCI: simplify brew commands --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2b5b9fe..034beca 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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'