From 0151abba99322874a070068bf857e6baab4953a3 Mon Sep 17 00:00:00 2001 From: Stefan Berger Date: Thu, 24 Oct 2019 16:27:29 -0400 Subject: [PATCH] Travis: Work around failing OsX builds due to brew error The Travis build on OSX was failing due to the following error: /usr/local/Homebrew/Library/Homebrew/brew.rb:23:in `require_relative': \ /usr/local/Homebrew/Library/Homebrew/global.rb:110: \ syntax error, unexpected keyword_rescue, expecting keyword_end (SyntaxError) from /usr/local/Homebrew/Library/Homebrew/brew.rb:23:in `
' The command "brew tap discoteq/discoteq" failed and exited with 1 during . This patch resolves the issue. Signed-off-by: Stefan Berger --- .travis.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 97221eb..f7a11a0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -121,14 +121,14 @@ matrix: os: osx compiler: clang before_script: - - brew upgrade gnutls - - brew install expect - - brew install libtasn - - brew install glib - - brew install gawk - - brew install gmp - - brew tap discoteq/discoteq - - brew install flock - - brew install socat + - HOMEBREW_NO_AUTO_UPDATE=1 brew upgrade gnutls || true + - HOMEBREW_NO_AUTO_UPDATE=1 brew install expect + - HOMEBREW_NO_AUTO_UPDATE=1 brew install libtasn + - HOMEBREW_NO_AUTO_UPDATE=1 brew install glib + - HOMEBREW_NO_AUTO_UPDATE=1 brew install gawk + - HOMEBREW_NO_AUTO_UPDATE=1 brew install gmp + - HOMEBREW_NO_AUTO_UPDATE=1 brew tap discoteq/discoteq + - HOMEBREW_NO_AUTO_UPDATE=1 brew install flock + - HOMEBREW_NO_AUTO_UPDATE=1 brew install socat # To run the pkcs11 test with softhsm we need SUDO (above) - - brew install softhsm + - HOMEBREW_NO_AUTO_UPDATE=1 brew install softhsm -- 2.39.5