From f2fc28d807767808c2d11e6d9e6fb7d9e9ef8418 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Thu, 26 Mar 2020 19:26:22 -0400 Subject: [PATCH] Fix Travis failures due to Homebrew --- contrib/ios/install_tools.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/contrib/ios/install_tools.sh b/contrib/ios/install_tools.sh index df532e29..796833d8 100755 --- a/contrib/ios/install_tools.sh +++ b/contrib/ios/install_tools.sh @@ -1,7 +1,9 @@ #!/usr/bin/env bash # This step should install tools needed for all packages - OpenSSL and LDNS +# When running on Travis, Homebrew fails in unusual ways, hence '|| true'. +# https://travis-ci.community/t/homebrew-fails-because-an-automake-update-is-an-error/7831/3 echo "Updating tools" -brew update 1>/dev/null +brew update 1>/dev/null || true echo "Installing tools" -brew install autoconf automake libtool pkg-config curl perl 1>/dev/null +brew install autoconf automake libtool pkg-config curl perl 1>/dev/null || true -- 2.47.3