-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
81 lines (69 loc) · 1.78 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
sudo: required
dist: trusty
language: java
jdk:
# - oraclejdk7
- oraclejdk8
env:
- AS=wildfly81x
#- AS=jboss71x
# - AS=jboss61x
# - AS=jboss51x
# - AS=jboss42x
# - AS=payara4x
- AS=glassfish4x
# - AS=glassfish31x
- AS=tomcat9x
- AS=tomcat8x
- AS=tomcat7x
- AS=tomcat6x
- AS=tomee7xweb
- AS=tomee7xplus
- AS=tomee7xplume
- AS=tomee8xweb
- AS=tomee8xplus
- AS=tomee8xplume
- AS=tomee8xmicro
- AS=wls12x
- AS=wlp16x
matrix:
# exclude:
# # http://stackoverflow.com/questions/22462936/will-it-be-possible-to-use-java-8-on-glassfish-3
# - jdk: oraclejdk8
# env: AS=glassfish31x
# # http://stackoverflow.com/questions/28496816/is-jdk8-a-supported-platform-for-jboss-6-as
# - jdk: oraclejdk8
# env: AS=jboss61x
# - jdk: oraclejdk8
# env: AS=jboss51x
# - jdk: oraclejdk8
# env: AS=jboss42x
# # jdk8 required
# - jdk: oraclejdk7
# env: AS=tomcat9x
allow_failures:
# websphere integration know to be broken
- jdk: oraclejdk8
env: AS=wlp16x
# TODO weblogic integration should work in general, didn't make it working on travis yet however
- jdk: oraclejdk8
env: AS=wls12x
# https://docs.travis-ci.com/user/languages/java/#Caching
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -rf $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_install:
- export ORG_GRADLE_PROJECT_container=${AS}
- nvm install node && nvm use node # use the latest node version
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
# - sleep 3 # give xvfb some time to start
script: ./gradlew unitTest --info
notifications:
email: