From 16d3f89b5c6e9051665535c6b516b37f9743e862 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 5 Jan 2021 21:35:06 +0100 Subject: [PATCH] travis-ci: Calling brew cask install is disabled! Use brew install [--cask] instead --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a012541b..44c7ea70 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,8 +42,9 @@ install: - brew uninstall java --force || true - brew cask uninstall java --force || true - brew tap adoptopenjdk/openjdk - - travis_retry brew cask install adoptopenjdk8 - - travis_retry brew cask install android-sdk + - travis_retry brew install --cask adoptopenjdk8 + - export JAVA_HOME=`/usr/libexec/java_home -v 1.8` + - travis_retry brew install --cask android-sdk - export AAPT_VERSION=`sed -n "s,^MINIMUM_APKSIGNER_BUILD_TOOLS_VERSION\s*=\s*['\"]\(.*\)[['\"],\1,p" fdroidserver/common.py` - mkdir -p "$ANDROID_HOME/licenses"