path: root/.travis.yml
diff options
authorder richter <>2020-09-21 23:48:43 +0200
committerder richter <>2020-09-22 13:03:39 +0200
commitc535dfed6657da738e2df7d83fdc39b8950a3463 (patch)
tree2db93d2b0923f76a4cfbff45c265999ef50276fc /.travis.yml
parentefb0c5c4469ce4dc63fc3345293bdf7536e36581 (diff)
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.
Diffstat (limited to '.travis.yml')
1 files changed, 3 insertions, 0 deletions
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"