Skip to content

Commit

Permalink
Start xvfb as a service on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Ward committed Oct 3, 2019
1 parent fc9b170 commit 61a1584
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Expand Up @@ -7,6 +7,8 @@ addons:
jdk :
- openjdk8
language : java
services:
- xvfb
cache:
directories:
- $HOME/.m2
Expand All @@ -18,9 +20,7 @@ script :
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar

before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
- export DISPLAY=:99.0
after_success:
- cd modules/application
- mvn org.eluder.coveralls:coveralls-maven-plugin:report
Expand Down

0 comments on commit 61a1584

Please sign in to comment.