]> git.localhorst.tv Git - blank.git/commitdiff
launch xvfb on travis
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Mon, 21 Nov 2016 16:46:18 +0000 (17:46 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Mon, 21 Nov 2016 16:46:18 +0000 (17:46 +0100)
.travis.yml

index f83818b01b8743d3b3f9493253577dc70eb3323f..598857218ed11282be8f4519a9c7cc546ead4ad8 100644 (file)
@@ -17,5 +17,13 @@ matrix:
     - env: "IMAGE=ubuntu-build:devel TARGETS=test"
     - env: "IMAGE=centos-build:latest TARGETS=test"
 
+before_script:
+  - "export DISPLAY=:99.0"
+  - "sh -e /etc/init.d/xvfb start"
+  - sleep 3 # give xvfb some time to start
+# really?
+# watch https://docs.travis-ci.com/user/gui-and-headless-browsers/ to
+# see if a less fragile version comes up (with services maybe)
+
 script:
     - bash scripts/docker/exec.bash