1language: java
2
3matrix:
4  include:
5    - env: JDK='Oracle JDK 8'
6      jdk: oraclejdk8
7    - env: JDK='Oracle JDK 9'
8      jdk: oraclejdk9
9    - env: JDK='Oracle JDK 10'
10      install: . ./install-jdk.sh -F 10 -L BCL
11    - env: JDK='OpenJDK 10'
12      install: . ./install-jdk.sh -F 10 -L GPL
13    - env: JDK='Oracle JDK 11'
14      install: . ./install-jdk.sh -F 11 -L BCL
15    - env: JDK='OpenJDK 11'
16      install: . ./install-jdk.sh -F 11 -L GPL
17  allow_failures:
18    # ErrorProne/javac is not yet working on JDK 11
19    - env: JDK='Oracle JDK 11'
20    - env: JDK='OpenJDK 11'
21
22# Direct usage of `install-jdk.sh` might be superseded by https://github.com/travis-ci/travis-build/pull/1347
23before_install:
24  - unset _JAVA_OPTIONS
25  - wget https://github.com/sormuras/bach/raw/1.0.1/install-jdk.sh
26
27after_success:
28  - .buildscript/deploy_snapshot.sh
29
30env:
31  global:
32    - secure: "nkVNCk8H2orIZOmow0t+Qub1lFQCYpJgNZf17zYI5x0JVqQNCqkcTYYDHqzwkvkmixXFCrfYZQuXy7x2qg9zjCX+vmhlmiMWwe8dNa34OLTseuuR2irS0C8nRGRYxKM7EGenRZSqbFVUksKRm2iWnHKxtmCzeDaS7MoMit2wdUo="
33    - secure: "j8+hPaZnyM+UlOBYOEA96fPbVWbN6bMQ28SGQnFMwxo2axHi9ww9Au1N7002HzHnxX8iyesdWFBigArnEL8zKEoXH9Bmur0sn3Ys4bu72C3ozscP4cjXfYSHj8aVLp1EIMdQPDF7MkCccx9l7ONdsW0ltmdiVUtDxzqkH+63WLU="
34
35branches:
36  except:
37    - gh-pages
38
39notifications:
40  email: false
41
42sudo: false
43
44cache:
45  directories:
46    - $HOME/.m2
47