]> git.localhorst.tv Git - blank.git/blobdiff - .travis.yml
launch xvfb on travis
[blank.git] / .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