From 574d72b0e2050fbc5c82b4bd6f601f386056ac28 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Sun, 19 Nov 2017 14:09:18 +0000 Subject: [PATCH] Problem: Travis builds with brew fail Solution: add workaround until Travis really fixes the issue: https://github.com/travis-ci/travis-ci/issues/8552 --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 22eba34d..f3a38444 100644 --- a/.travis.yml +++ b/.travis.yml @@ -86,8 +86,8 @@ matrix: sudo: required before_install: -- 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 +- if [ $TRAVIS_OS_NAME == "osx" -a $BUILD_TYPE == "android" ] ; then brew update; brew install binutils ; fi +- if [ $TRAVIS_OS_NAME == "osx" -a $CURVE == "libsodium" ] ; then brew update; brew install libsodium ; fi before_script: # ZMQ stress tests need more open socket (files) than the usual default