---
language: java
# 
env:
  - MAVEN_VERSION=3.5.4

# We need to make a preliminary installation of the needed
# Maven version cause travis will offer only Maven 3.2.5
install:
  - "mvn -N io.takari:maven:wrapper -Dmaven=${MAVEN_VERSION}"

#
script:
  - "./mvnw --show-version --errors --batch-mode clean verify"

jdk:
 - oraclejdk8
 - oraclejdk9
 - openjdk10

cache:
  directories:
  - $HOME/.m2

branches:
  except:
    - gh-pages

---
language: java
# 
env:
  - MAVEN_VERSION=3.6.0

# We need to make a preliminary installation of the needed
# Maven version cause travis will offer only Maven 3.2.5
install:
  - "mvn -N io.takari:maven:wrapper -Dmaven=${MAVEN_VERSION}"

#
script:
  - "./mvnw --show-version --errors --batch-mode clean verify"

jdk:
 - oraclejdk8
 - oraclejdk9
 - openjdk10
 - openjdk11

cache:
  directories:
  - $HOME/.m2

branches:
  except:
    - gh-pages

Upgrade Maven version to 3.6.0 Added JDK 11
Upgrade Maven version to 3.6.0
Added JDK 11
