sudo: false
language: java
after_success:
  - if [[ "${TRAVIS_JDK_VERSION}" == "oraclejdk8" ]]; then mvn -B jacoco:report coveralls:report; fi
jdk:
  - openjdk7
  - oraclejdk8

sudo: false
language: java
after_success:
  - if [[ "${TRAVIS_JDK_VERSION}" == "oraclejdk8" ]]; then mvn -B jacoco:report coveralls:report; fi
jdk:
  - openjdk8
  - openjdk11

Build with OpenJDK 8 and 11 on Travis CI
Build with OpenJDK 8 and 11 on Travis CI