forked from Lambda-3/DiscourseSimplification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (44 loc) · 1015 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
sudo: false
dist: trusty
language: java
before_install:
- wget https://github.com/sormuras/bach/raw/master/install-jdk.sh
cache:
directories:
- '$HOME/.m2'
matrix:
include:
# Java 8
- env: JDK='Oracle JDK 8'
jdk: oraclejdk8
- env: JDK='OpenJDK 8'
jdk: openjdk8
# Java 9
- env: JDK='Oracle JDK 9'
jdk: oraclejdk9
- env: JDK='OpenJDK 9'
jdk: openjdk9
# Java 11
- env: JDK='Oracle JDK 11'
jdk: oraclejdk11
- env: JDK='OpenJDK 11'
jdk: openjdk11
# Java 12
- env: JDK='Oracle JDK 12'
jdk: oraclejdk12
- env: JDK='OpenJDK 12'
jdk: openjdk12
allow_failures:
- env: JDK='Oracle JDK 9'
- env: JDK='OpenJDK 9'
- env: JDK='Oracle JDK 10'
- env: JDK='OpenJDK 10'
- env: JDK='Oracle JDK 11'
- env: JDK='OpenJDK 11'
- env: JDK='Oracle JDK 12'
- env: JDK='OpenJDK 12'
script:
- echo PATH = ${PATH}
- echo JAVA_HOME = ${JAVA_HOME}
- java -version
- mvn test -B