Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rkrell authored Dec 8, 2017
1 parent c0c5e47 commit 694ce42
Showing 1 changed file with 5 additions and 21 deletions.
26 changes: 5 additions & 21 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,14 @@ language: java
install: true
sudo: false

# https://blog.travis-ci.com/2017-07-11-trusty-as-default-linux-is-coming
# Travis now defaults to Trusty, which is missing openjdk6.
# dist: precise

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 OpenJDK 6/7 on Travis
# Automatic GUI tests fail on Travis
# Failing command line: mvn verify -Pwith-gui-tests
#addons:
# apt:
Expand All @@ -25,7 +21,7 @@ cache:
- $HOME/.m2/repository

# FIXME
# Automatic GUI tests fail on OpenJDK 6/7 on Travis
# Automatic GUI tests fail on Travis
# Failing command line: mvn verify -Pwith-gui-tests
#before_script:
# - export DISPLAY=:99.0
Expand All @@ -41,27 +37,15 @@ matrix:
- openjdk-6-jdk
jdk: openjdk6
env: MVN_VERSION="3.2.5"
script:
- mvn -U clean verify
- addons:
apt:
packages:
- fluxbox
- openjdk-7-jdk
jdk: openjdk7
env: MVN_VERSION="3.3.9"
script:
- mvn -U clean verify
- jdk: oraclejdk8
env: MVN_VERSION="3.3.9"
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- fluxbox &> ~/fluxbox.log &
- sleep 3
script:
- mvn -U clean verify
- mvn verify -Pwith-gui-tests
# FIXME:
# Travis build fail on JDK 9 due to missing JAXB module in classpath
# - jdk: oraclejdk9
Expand All @@ -71,10 +55,10 @@ env:
global:
- JAVA_OPTS="-Djava.awt.headless=false"

script:
- mvn -U clean verify
# FIXME
# Automatic GUI tests fail on OpenJDK 6/7 on Travis
#script:
# - mvn -U clean verify
# Automatic GUI tests fail on Travis
# - mvn verify -Pwith-gui-tests

notifications:
Expand Down

0 comments on commit 694ce42

Please sign in to comment.