Merge pull request #4266 from ThomasWaldmann/travis-fix-brew-1.1

fix the homebrew 1.9 issues on travis-ci, fixes #4254
This commit is contained in:
TW 2019-01-25 00:53:08 +01:00 committed by GitHub
commit 659a69a33d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,12 @@ set -e
set -x
if [[ "$(uname -s)" == 'Darwin' ]]; then
# HOMEBREW_NO_AUTO_UPDATE=1
export HOMEBREW_LOGS=~/brew-logs
export HOMEBREW_TEMP=~/brew-temp
mkdir $HOMEBREW_LOGS
mkdir $HOMEBREW_TEMP
# brew update
if [[ "${OPENSSL}" != "0.9.8" ]]; then
brew outdated openssl || brew upgrade openssl
fi