forked from izpack/izpack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
65 lines (57 loc) · 1.29 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
language: java
install: true
sudo: false
install:
- bash .travis.install-maven.sh "${MVN_VERSION}" "${HOME}/mvn-home"
- export M2_HOME=${HOME}/mvn-home
- export PATH=${HOME}/mvn-home/bin:${PATH}
- mvn -version
# FIXME
# Automatic GUI tests fail on Travis
# Failing command line: mvn verify -Pwith-gui-tests
#addons:
# apt:
# packages:
# - fluxbox
cache:
directories:
- $HOME/.m2/repository
# FIXME
# Automatic GUI tests fail on Travis
# Failing command line: mvn verify -Pwith-gui-tests
#before_script:
# - export DISPLAY=:99.0
# - sh -e /etc/init.d/xvfb start
# - fluxbox &> ~/fluxbox.log &
# - sleep 3
matrix:
include:
- addons:
apt:
packages:
- openjdk-6-jdk
jdk: openjdk6
env: MVN_VERSION="3.2.5"
- addons:
apt:
packages:
- fluxbox
- openjdk-7-jdk
jdk: openjdk7
env: MVN_VERSION="3.3.9"
- jdk: oraclejdk8
env: MVN_VERSION="3.3.9"
# FIXME:
# Travis build fail on JDK 9 due to missing JAXB module in classpath
# - jdk: oraclejdk9
# env: MVN_VERSION="3.3.9"
env:
global:
- JAVA_OPTS="-Djava.awt.headless=false"
script:
- mvn -U clean verify
# FIXME
# Automatic GUI tests fail on Travis
# - mvn verify -Pwith-gui-tests
notifications:
email: false