From: Daniel Karbach Date: Mon, 21 Nov 2016 16:46:18 +0000 (+0100) Subject: launch xvfb on travis X-Git-Url: http://git.localhorst.tv/?a=commitdiff_plain;h=04b035d837668eb6444ec34e59c018d0c25983fd;hp=3ff7bfeecf8ddc8d5b384683246a39bc05f9794d;p=blank.git launch xvfb on travis --- 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