language: java
os: linux
dist: trusty
install:
  - jdk_switcher use openjdk8
  - mvn install -DskipTests=true -Dmaven.javadoc.skip=true
jdk:
  - openjdk7
  - openjdk8
  - oraclejdk9
script:
  - jdk_switcher use $TRAVIS_JDK_VERSION
  - ./mvnw test -Dmaven.javadoc.skip=true

language: java
os: linux
dist: trusty
install:
  - jdk_switcher use openjdk8
  - mvn install -DskipTests=true -Dmaven.javadoc.skip=true
jdk:
  - openjdk7
  - openjdk8
  - oraclejdk9
script:
  - jdk_switcher use $TRAVIS_JDK_VERSION
  - ./mvnw test -Dmaven.javadoc.skip=true

cache:
  directories:
  - $HOME/.m2

Improve Travis CI build Performance
Improve Travis CI build Performance