Skip to content
This repository has been archived by the owner on May 3, 2023. It is now read-only.

Commit

Permalink
build: explicitly use openjdk8 on travis linux
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehardy committed Aug 26, 2019
1 parent 23acc0d commit 0405799
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ before_install:
# skip brew update
export HOMEBREW_NO_AUTO_UPDATE=1
brew cask uninstall java; brew tap AdoptOpenJDK/openjdk; brew cask install adoptopenjdk8;
else
PATH=$(echo "$PATH" | sed -e 's/:\/usr\/local\/lib\/jvm\/openjdk11\/bin//');
JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64;
fi
# Accept licenses before installing components, no need to echo y for each component
- yes | sdkmanager --licenses
Expand Down

0 comments on commit 0405799

Please sign in to comment.