-
Notifications
You must be signed in to change notification settings - Fork 137
/
.travis.yml
107 lines (107 loc) · 4.33 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
language: java
dist: trusty
cache:
directories:
- '$HOME/.m2/repository'
install:
# Skip the first maven execution for downloading dependencies by using this command
- /bin/true
script:
- ./build.sh
env:
global:
- MAVEN_SKIP_RC=true
matrix:
fast_finish: true
include:
- env: PROFILES=tomee-build-managed
jdk: oraclejdk8
# Must run with newer OpenEJB for the OpenEJB conatiner control tests
- env: PROFILES=tomee8-build-managed,OpenEJB-TomEE
jdk: oraclejdk8
# Must run with newer OpenEJB for the OpenEJB conatiner control tests
- env: PROFILES=tomee7-build-managed,OpenEJB-TomEE
jdk: oraclejdk8
- env: PROFILES=OWB
jdk: oraclejdk8
- env: PROFILES=Weld3
jdk: oraclejdk8
- env: PROFILES=OWB2
jdk: oraclejdk8
- env: PROFILES=Weld2
jdk: oraclejdk8
- env: PROFILES=OWB15
jdk: oraclejdk8
- env: PROFILES=Weld1
jdk: oraclejdk8
################################################
# The following are tests that compile Java8 bytecode and only check if Deltaspike is capable of running on a newer JVM
################################################
- env: PROFILES=OWB2 JDK=9
before_install:
- wget https://raw.githubusercontent.com/sormuras/bach/master/install-jdk.sh
- . ./install-jdk.sh -F 9 -L BCL
# Add new certificates for JDK10
# https://www.deps.co/guides/travis-ci-latest-java/
- env: PROFILES=OWB2 JDK=10
before_install:
- wget https://raw.githubusercontent.com/sormuras/bach/master/install-jdk.sh
- . ./install-jdk.sh -F 10 -L GPL
- rm "${JAVA_HOME}/lib/security/cacerts"
- ln -s /etc/ssl/certs/java/cacerts "${JAVA_HOME}/lib/security/cacerts"
- env: PROFILES=OWB2 JDK=11
before_install:
- wget https://raw.githubusercontent.com/sormuras/bach/master/install-jdk.sh
- . ./install-jdk.sh -F 11 -L BCL
- env: PROFILES=OWB2 JDK=12
before_install:
- wget https://raw.githubusercontent.com/sormuras/bach/master/install-jdk.sh
- . ./install-jdk.sh -F 12 -L GPL
- env: PROFILES=OWB2 JDK=13
before_install:
- wget https://raw.githubusercontent.com/sormuras/bach/master/install-jdk.sh
- . ./install-jdk.sh -F 13 -L GPL
- env: PROFILES=OWB2 JDK=14
before_install:
- wget https://raw.githubusercontent.com/sormuras/bach/master/install-jdk.sh
- . ./install-jdk.sh -F 14 -L GPL
################################################
# The following are tests that compile to Java9+ bytecode and check if Deltaspike is buildable with newer JDKs as well as if it is capable of handling classes of newer bytecode versions
################################################
- env: PROFILES=OWB2 JDK=9 BUILD_JDK=9
before_install:
- wget https://raw.githubusercontent.com/sormuras/bach/master/install-jdk.sh
- . ./install-jdk.sh -F 9 -L GPL
- env: PROFILES=OWB2 JDK=10 BUILD_JDK=10
before_install:
- wget https://raw.githubusercontent.com/sormuras/bach/master/install-jdk.sh
- . ./install-jdk.sh -F 10 -L GPL
- rm "${JAVA_HOME}/lib/security/cacerts"
- ln -s /etc/ssl/certs/java/cacerts "${JAVA_HOME}/lib/security/cacerts"
- env: PROFILES=OWB2 JDK=11 BUILD_JDK=11
before_install:
- wget https://raw.githubusercontent.com/sormuras/bach/master/install-jdk.sh
- . ./install-jdk.sh -F 11 -L BCL
- env: PROFILES=OWB2 JDK=12 BUILD_JDK=12
before_install:
- wget https://raw.githubusercontent.com/sormuras/bach/master/install-jdk.sh
- . ./install-jdk.sh -F 12 -L GPL
- env: PROFILES=OWB2 JDK=13 BUILD_JDK=13
before_install:
- wget https://raw.githubusercontent.com/sormuras/bach/master/install-jdk.sh
- . ./install-jdk.sh -F 13 -L GPL
- env: PROFILES=OWB2 JDK=14 BUILD_JDK=14
before_install:
- wget https://raw.githubusercontent.com/sormuras/bach/master/install-jdk.sh
- . ./install-jdk.sh -F 14 -L GPL
allow_failures:
- env: PROFILES=OWB2 JDK=14 BUILD_JDK=14
- env: PROFILES=OWB2 JDK=14
# Not sure why, but these profiles fail in the JSF tests
- env: PROFILES=tomee8-build-managed,OpenEJB-TomEE
jdk: oraclejdk8
- env: PROFILES=tomee7-build-managed,OpenEJB-TomEE
jdk: oraclejdk8
# Fails because it thinks an alternative is not a proper alternative?
- env: PROFILES=Weld2
jdk: oraclejdk8