1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-18 20:50:10 +01:00

travis-ci: Calling brew cask install is disabled! Use brew install [--cask] instead

This commit is contained in:
Hans-Christoph Steiner 2021-01-05 21:35:06 +01:00
parent e878c6f902
commit 16d3f89b5c
No known key found for this signature in database
GPG Key ID: 3E177817BA1B9BFA

View File

@ -42,8 +42,9 @@ install:
- brew uninstall java --force || true - brew uninstall java --force || true
- brew cask uninstall java --force || true - brew cask uninstall java --force || true
- brew tap adoptopenjdk/openjdk - brew tap adoptopenjdk/openjdk
- travis_retry brew cask install adoptopenjdk8 - travis_retry brew install --cask adoptopenjdk8
- travis_retry brew cask install android-sdk - 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` - export AAPT_VERSION=`sed -n "s,^MINIMUM_APKSIGNER_BUILD_TOOLS_VERSION\s*=\s*['\"]\(.*\)[['\"],\1,p" fdroidserver/common.py`
- mkdir -p "$ANDROID_HOME/licenses" - mkdir -p "$ANDROID_HOME/licenses"