language: java
install: ./mvnw -DskipTests=true -Dgpg.skip=true install javadoc:javadoc
jdk:
    - oraclejdk8
    - openjdk7
    - openjdk6

language: java
install: ./mvnw -DskipTests=true -Dgpg.skip=true install javadoc:javadoc
addons:
    apt:
        packages:
            - openjdk-6-jdk
jdk:
    - oraclejdk8
    - openjdk7
    - openjdk6

Install OpenJDK 6 on Travis CI
Install OpenJDK 6 on Travis CI

Travis CI 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
