TravisCI: Install libevent only when building miniupnpc-libevent project on OS X
This commit is contained in:
parent
8335fce1bc
commit
b510f06ef3
|
@ -32,7 +32,7 @@ compiler:
|
||||||
- clang
|
- clang
|
||||||
|
|
||||||
before_install:
|
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:
|
script:
|
||||||
- 'cd $TRAVIS_BUILD_DIR && cd $PROJECT'
|
- 'cd $TRAVIS_BUILD_DIR && cd $PROJECT'
|
||||||
|
|
Loading…
Reference in New Issue