Skip to content

Commit d5545ad

Browse files
committed
Ensure Java 1.8 is available on Darwin on CI
The build failed, and the logs say this: bazel: Java 1.8 is required to install this formula. Install AdoptOpenJDK 8 with Homebrew Cask: brew cask install homebrew/cask-versions/adoptopenjdk8 Error: An unsatisfied requirement failed this build. So let's try that then.
1 parent fe2dd48 commit d5545ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.travis.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ case "$1" in
2020
sudo dpkg -i bazel_1.1.0-linux-x86_64.deb
2121
;;
2222
"osx")
23+
brew cask install homebrew/cask-versions/adoptopenjdk8
2324
brew install bazel
2425
;;
2526
esac

0 commit comments

Comments
 (0)