language: java
jdk:
  - openjdk6
  - oraclejdk8
install:
  - jdk_switcher use openjdk6 && export JAVA6_HOME=$JAVA_HOME
  - jdk_switcher use oraclejdk8 && export JAVA8_HOME=$JAVA_HOME
  - ./gradlew check
language: java
addons:
  apt:
    packages:
      - openjdk-6-jdk
jdk:
  - oraclejdk8
install:
  - jdk_switcher use openjdk6 && export JAVA6_HOME=$JAVA_HOME
  - jdk_switcher use oraclejdk8 && export JAVA8_HOME=$JAVA_HOME
  - ./gradlew check
Install OpenJDK 6 for Travis
Install OpenJDK 6 for Travis
