From: Jeffrey Walton Date: Thu, 26 Mar 2020 23:26:22 +0000 (-0400) Subject: Fix Travis failures due to Homebrew X-Git-Tag: 1.8.0-rc.1~51^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F100%2Fhead;p=thirdparty%2Fldns.git Fix Travis failures due to Homebrew --- 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