language: java
# Skip the Travis Installation Phase (installation of dependencies: `mvn install -DskipTests=true`)
install: true
# Customized build command (default is only `mvn test`)
script: mvn verify javadoc:javadoc coveralls:report -Pcoverage -B -V
jdk:
  - oraclejdk8
branches:
  only:
     - master
     - /\d\.0\.0-RC/
# Cache Maven repo between Travis builds
cache:
  directories:
    - '$HOME/.m2/repository'

language: java
# Skip the Travis Installation Phase (installation of dependencies: `mvn install -DskipTests=true`)
install: true
# Customized build command (default is only `mvn test`)
script: mvn verify javadoc:javadoc coveralls:report -Pcoverage -B -V
jdk:
  - openjdk8
branches:
  only:
     - master
     - /\d\.0\.0-RC/
# Cache Maven repo between Travis builds
cache:
  directories:
    - '$HOME/.m2/repository'

Use OpenJDK instead of Oracle on Travis
Use OpenJDK instead of Oracle on Travis

See https://docs.travis-ci.com/user/trusty-to-xenial-migration-guide/