language: java
sudo: false
jdk:
  - openjdk8
  - oraclejdk11

cache:
  directories:
  - "$HOME/.m2"

addons:
  apt:
    packages:
    - libcppunit-dev

script: mvn clean install -DskipTests spotbugs:check checkstyle:check -Pfull-build

branches:
  only:
  - master
  - branch-3.5
  - branch-3.4

language: java
sudo: false
jdk:
  - openjdk8
  - openjdk11

cache:
  directories:
  - "$HOME/.m2"

addons:
  apt:
    packages:
    - libcppunit-dev

script: mvn clean install -DskipTests spotbugs:check checkstyle:check -Pfull-build

branches:
  only:
  - master
  - branch-3.5
  - branch-3.4

Move Travis to openjdk11, oraclejdk11 does not work anymore
Move Travis to openjdk11, oraclejdk11 does not work anymore

Author: Enrico Olivelli <eolivelli@apache.org>

Reviewers: Norbert Kalmar <nkalmar@apache.org>

Closes #1005 from eolivelli/fix/travis-openjdk11
