From c535dfed6657da738e2df7d83fdc39b8950a3463 Mon Sep 17 00:00:00 2001 From: der richter Date: Mon, 21 Sep 2020 23:48:43 +0200 Subject: travis: fix macOS 10.12 legacy build brew update tries to update the java cask, which it tries to build from source. this takes too long and leads to a timeout of the job. we can't manually remove the java cask because of a bug in the too old brew cask version and the old formula. we just remove the whole cask tap and call it a day, since we don't need it anyway. --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index a5850b7675..75efd96cc9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -118,6 +118,9 @@ before_install: for formula in ${keep[@]}; do remove=("${remove[@]/$formula}"); done for formula in ${install[@]}; do remove=("${remove[@]/$formula}"); done brew remove --force $remove --ignore-dependencies + if [[ "$TRAVIS_OSX_IMAGE" == "xcode9.2" ]]; then + brew untap caskroom/cask + fi brew update if [[ "$TRAVIS_OSX_IMAGE" == "xcode9.2" ]]; then pushd "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core" -- cgit v1.2.3