From 80a9959247c7ee38f003fbf15c457de18278c493 Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Sun, 23 Jul 2017 16:30:58 +0100 Subject: [PATCH] Start a virtual framebuffer for travisCI --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 76cae9fd..600ee103 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,12 @@ sudo: false # use the new container-based Travis infrastructure before_install: - chmod +x build.sh + +before_script: + # Start a virtual framebuffer as described: https://docs.travis-ci.com/user/gui-and-headless-browsers/ + - "export DISPLAY=:99.0" + - "sh -e /etc/init.d/xvfb start" + - sleep 3 # give xvfb some time to start script: - ./build.sh NuGet