Permalink
Browse files

travis.yml: Add DISPLAY property

  • Loading branch information...
arafsheikh committed Jun 28, 2016
1 parent 69da10e commit 01af2877144292a9ace358c5e4400ba86d0550bd
Showing with 13 additions and 1 deletion.
  1. +13 −1 .travis.yml
@@ -1,6 +1,16 @@
sudo: required
dist: trusty
env: DISPLAY=:99.0
install: true
before_script:
- sh -e /etc/init.d/xvfb start
- sleep 10 # give xvfb some time to start
- metacity --sm-disable --replace &
- sleep 10 # give metacity some time to start
language: java
jdk:
- oraclejdk8
@@ -11,8 +21,10 @@ cache:
pip: true
before_install:
- sudo apt-get update
- sudo apt-get -y install python3-pip python-dev
- sudo pip3 install -U pip setuptools virtualenvwrapper
- sudo pip3 install -U coala-bears
- sudo apt-get -y install metacity
script: mvn clean verify
script: mvn -X clean verify

0 comments on commit 01af287

Please sign in to comment.