language: java
script: ./mvnw verify javadoc:javadoc site:site
jdk:
  - oraclejdk7
  - oraclejdk8
  - openjdk7
  - openjdk6

language: java
script: ./mvnw verify javadoc:javadoc site:site
addons:
  apt:
    packages:
      - openjdk-6-jdk
jdk:
  - oraclejdk7
  - oraclejdk8
  - openjdk7
  - openjdk6

Install OpenJDK 6 on Travis
Install OpenJDK 6 on Travis

Travis switched from Ubuntu Precise images to Ubuntu Trusty images. The
Trusty images don't have installed OpenJDK 6 by default. See
travis-ci/travis-ci#8199
