Skip to content

Commit

Permalink
Build with JDK 11 EA in Travis (bazelbuild#717)
Browse files Browse the repository at this point in the history
  • Loading branch information
Godin authored Aug 2, 2018
1 parent b2c5ff7 commit bbcb18a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ case "$JDK" in
10)
install_jdk $JDK10_URL
;;
11-ea)
install_jdk $JDK11_EA_URL
;;
esac

# Do not use "~/.mavenrc" set by Travis (https://github.com/travis-ci/travis-ci/issues/3893),
Expand All @@ -86,6 +89,8 @@ case "$JDK" in
mvn -V -B -e verify -Djdk.version=${JDK} -Dbytecode.version=${JDK} -Decj=${ECJ:-} --toolchains=./.travis/travis-toolchains.xml
;;
10)
;&
11-ea)
mvn -V -B -e verify -Dbytecode.version=10
;;
*)
Expand Down
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,8 @@ env:
- JDK=8
- JDK=8
ECJ=true
- JDK=8-ea
- JDK=9
- JDK=10

matrix:
allow_failures:
- env: JDK=8-ea
- JDK=11-ea

script: ./.travis.sh

0 comments on commit bbcb18a

Please sign in to comment.