#sudo: required

language: java

# Work around travis-ci/travis-ci/issues/6593
sudo: true
cache:
  directories:
    - $HOME/.m2

script:
  - '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && mvn -B deploy --settings .travis-settings.xml || mvn -B verify --settings .travis-settings.xml'
jdk:
  - oraclejdk8
  - oraclejdk11

#sudo: required

language: java

# Work around travis-ci/travis-ci/issues/6593
sudo: true
cache:
  directories:
    - $HOME/.m2

script:
  - '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && mvn -B deploy --settings .travis-settings.xml || mvn -B verify --settings .travis-settings.xml'
jdk:
  - openjdk8
  - openjdk11

Switch from oraclejdk to openjdk
Switch from oraclejdk to openjdk
