language: java
jdk:
  - oraclejdk8
os:
  - linux
script:
  - export MAVEN_OPTS="-Xms512m -Xmx512m -XX:MaxMetaspaceSize=192m"
  - mvn clean verify

language: java
jdk:
  - openjdk8
os:
  - linux
script:
  - export MAVEN_OPTS="-Xms512m -Xmx512m -XX:MaxMetaspaceSize=192m"
  - mvn clean verify

Switch to building on OpenJDK8 in Travis
Switch to building on OpenJDK8 in Travis