From 04b035d837668eb6444ec34e59c018d0c25983fd Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Mon, 21 Nov 2016 17:46:18 +0100 Subject: [PATCH] launch xvfb on travis --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index f83818b..5988572 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 -- 2.39.2