diff options
author | der richter <der.richter@gmx.de> | 2020-09-21 23:48:43 +0200 |
---|---|---|
committer | der richter <der.richter@gmx.de> | 2020-09-22 13:03:39 +0200 |
commit | c535dfed6657da738e2df7d83fdc39b8950a3463 (patch) | |
tree | 2db93d2b0923f76a4cfbff45c265999ef50276fc /.travis.yml | |
parent | efb0c5c4469ce4dc63fc3345293bdf7536e36581 (diff) | |
download | mpv-c535dfed6657da738e2df7d83fdc39b8950a3463.tar.bz2 mpv-c535dfed6657da738e2df7d83fdc39b8950a3463.tar.xz |
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')
-rw-r--r-- | .travis.yml | 3 |
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" |