Closed mbrukman closed 5 years ago
Installing Bazel via Homebrew requires JDK 1.8; the default on macOS on Travis CI is Xcode 9.4, which installs JDK 10.0.1+10 which is the wrong dependency for Bazel.
Pre https://docs.travis-ci.com/user/reference/osx/ we need to specify osx_image: xcode9.3 to get the latest JDK 1.8.0_112-b16, which should satisfy the Bazel requirement.
osx_image: xcode9.3
Installing Bazel via Homebrew requires JDK 1.8; the default on macOS on Travis CI is Xcode 9.4, which installs JDK 10.0.1+10 which is the wrong dependency for Bazel.
Pre https://docs.travis-ci.com/user/reference/osx/ we need to specify
osx_image: xcode9.3
to get the latest JDK 1.8.0_112-b16, which should satisfy the Bazel requirement.