language: java
jdk: oraclejdk9
script:
  - mvn clean package -B
sudo: false
notifications:
  email: 
    on_success: change
    on_failure: always

language: java
jdk: openjdk11
script:
  - mvn clean package -B
sudo: false
notifications:
  email: 
    on_success: change
    on_failure: always

Use JDK 11 on TravisCI
Use JDK 11 on TravisCI