1language: java 2 3# Skip "install" stage: 4install: true 5 6# Use container-based infrastructure: 7sudo: false 8 9addons: 10 apt: 11 packages: 12 - openjdk-6-jdk 13 14# Keep Maven local repository between builds: 15cache: 16 directories: 17 - '$HOME/.m2/repository' 18 19env: 20 - JDK=5 21 - JDK=6 22 - JDK=7 23 - JDK=8 24 - JDK=8 25 ECJ=true 26 - JDK=8-ea 27 - JDK=9 28 - JDK=10-ea 29 30matrix: 31 allow_failures: 32 - env: JDK=8-ea 33 - env: JDK=10-ea 34 35script: ./.travis.sh 36