From 0e795be8a8b146268b74964745ec1f6a5539b8a4 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Sun, 4 Jul 2021 12:07:41 +0100 Subject: [PATCH] Problem: OSX Travis builds using homebrew are timing out Solution: use the Travis addon instead of installing manually --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5774f5e4..01127233 100644 --- a/.travis.yml +++ b/.travis.yml @@ -102,6 +102,10 @@ matrix: - libbsd-dev - env: BUILD_TYPE=default CURVE=libsodium DRAFT=enabled os: osx + addons: + homebrew: + packages: + - libsodium - env: BUILD_TYPE=default CURVE=libsodium DRAFT=enabled ADDRESS_SANITIZER=enabled os: linux addons: @@ -162,8 +166,6 @@ matrix: - arch: arm64 before_install: -- 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 # To allow sonar to process history information, unshallow clone first. - if [ -n "$CLANG_TIDY" ] ; then git fetch --unshallow ;