Skip to content

Commit

Permalink
Build and test against multiple version of Java
Browse files Browse the repository at this point in the history
TODO:
- Restrict impact on third-party/PR reporting tools, if applicable.
  • Loading branch information
Stephan202 committed Apr 29, 2018
1 parent 7889cda commit 6c6dd31
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,31 @@
language: java
jdk:
- oraclejdk8
matrix:
include:
- env: JDK='Oracle JDK 8'
jdk: oraclejdk8
- env: JDK='Oracle JDK 9'
jdk: oraclejdk9
- env: JDK='Oracle JDK 10'
install: . ./install-jdk.sh -F 10 -L BCL
- env: JDK='OpenJDK 10'
install: . ./install-jdk.sh -F 10 -L GPL
- env: JDK='Oracle JDK 11'
install: . ./install-jdk.sh -F 11 -L BCL
- env: JDK='OpenJDK 11'
install: . ./install-jdk.sh -F 11 -L GPL
allow_failures:
# XXX: Error Prone is not yet compatible with JDK 11.
- env: JDK='Oracle JDK 11'
- env: JDK='OpenJDK 11'
addons:
sonarcloud:
organization: picnic-technologies
token: "${SONARCLOUD_TOKEN}"
before_install:
# XXX: Direct usage of `install-jdk.sh` might be superseded by
# https://github.com/travis-ci/travis-build/pull/1347
- unset _JAVA_OPTIONS
- wget https://github.com/sormuras/bach/raw/1.0.1/install-jdk.sh
- mvn io.takari:maven:wrapper
install:
- ./mvnw clean install -DskipTests
Expand Down

0 comments on commit 6c6dd31

Please sign in to comment.