Skip to content

Commit

Permalink
Ensure Java 1.8 is available on Darwin on CI
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ruuda committed Oct 23, 2019
1 parent fe2dd48 commit d5545ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ case "$1" in
sudo dpkg -i bazel_1.1.0-linux-x86_64.deb
;;
"osx")
brew cask install homebrew/cask-versions/adoptopenjdk8
brew install bazel
;;
esac
Expand Down

0 comments on commit d5545ad

Please sign in to comment.