-
Notifications
You must be signed in to change notification settings - Fork 16
/
.travis.yml
43 lines (40 loc) ยท 1.09 KB
/
.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
sudo: false
dist: trusty
language: java
before_install:
- wget https://github.com/sormuras/bach/raw/master/install-jdk.sh
matrix:
include:
# 8
- env: JDK='Oracle JDK 8'
jdk: oraclejdk8
- env: JDK='OpenJDK 8'
jdk: openjdk8
# # 9
# - env: JDK='Oracle JDK 9'
# jdk: oraclejdk9
# - env: JDK='OpenJDK 9'
# install: . ./install-jdk.sh -F 9
# # 10
# - env: JDK='Oracle JDK 10'
# jdk: oraclejdk10
# - env: JDK='OpenJDK 10'
# install: . ./install-jdk.sh -F 10 -L GPL
# # 11
# - env: JDK='Oracle JDK 11'
# install: . ./install-jdk.sh -F 11 -L BCL
# - env: JDK='OpenJDK 11'
# install: . ./install-jdk.sh -F 11 -L GPL
# allow_failures:
# - env: JDK='Oracle JDK 11'
# would just use default install/script but the ./mvnw script errors on travis
# obviously this only works for maven builds right now...
install:
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
script:
- mvn test
- echo PATH = ${PATH}
- echo JAVA_HOME = ${JAVA_HOME}
- java -version
after_success:
- mvn clean cobertura:cobertura coveralls:report