From 5b91eb549b8834c7c003766a547ffcd63888fdfc Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Thu, 3 Aug 2017 23:11:23 +0100 Subject: [PATCH] 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. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 84a81c6a..15131119 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: