From b510f06ef3cfcfe9a7c9fd3e07771427f1162674 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Tue, 15 Sep 2015 23:36:48 +0800 Subject: [PATCH] TravisCI: Install libevent only when building miniupnpc-libevent project on OS X --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3a9c4ed..eedc0c5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,7 +32,7 @@ compiler: - clang before_install: - - 'if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update > /dev/null && brew install libevent; fi' + - 'if [ "$TRAVIS_OS_NAME" = "osx" -a "$PROJECT" = "miniupnpc-libevent" ]; then brew update > /dev/null && brew install libevent; fi' script: - 'cd $TRAVIS_BUILD_DIR && cd $PROJECT'