# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false

# http://docs.travis-ci.com/user/languages/java/
language: java

matrix:
    include:
      - jdk: openjdk8
      - jdk: openjdk9
      - jdk: openjdk10
      - jdk: openjdk11
      - jdk: oraclejdk8
      - jdk: oraclejdk10
    allow_failures:
      - jdk: openjdk-ea
      - jdk: oraclejdk-ea

#Cache downloaded Maven artifacts between builds
cache:
  directories:
      - "${HOME}/.m2"
  
notifications:
  email: false
  slack: wlc:Kinf3gdySndcFTBtjcci3rJN

# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false

# http://docs.travis-ci.com/user/languages/java/
language: java

jdk:
  - openjdk8
  - oraclejdk8
  - oraclejdk9
  - oraclejdk11

#Cache downloaded Maven artifacts between builds
cache:
  directories:
      - "${HOME}/.m2"
  
notifications:
  email: false
  slack: wlc:Kinf3gdySndcFTBtjcci3rJN

Simplify Travis-CI build configuration for PR
Simplify Travis-CI build configuration for PR

Remove the before_install sections completely
Remove the customized build matrix and use built-in matrix generation

Signed-off-by: Emily Mabrey <1b930ed42299c9b9c7a34c6448b12fbc7d6cdafc@users.noreply.github.com>
