Problem: OSX builds are very slow

Solution: avoid running brew update and brew install binutils unless
it's for the android cross-compilation, where it's necessary for
greadelf.
This commit is contained in:
Luca Boccassi 2017-08-03 23:11:23 +01:00
parent 0c5731ac00
commit 5b91eb549b

View File

@ -78,7 +78,7 @@ matrix:
sudo: required
before_install:
- if [ $TRAVIS_OS_NAME == "osx" ] ; then brew update; brew install binutils ; fi
- if [ $TRAVIS_OS_NAME == "osx" -a $BUILD_TYPE == "android" ] ; then brew install binutils ; fi
- if [ $TRAVIS_OS_NAME == "osx" -a $CURVE == "libsodium" ] ; then brew install libsodium ; fi
before_script: