From 2230ba23a633203aec3340768f78d438ce66f65e Mon Sep 17 00:00:00 2001 From: _sam <3804518+Aahung@users.noreply.github.com> Date: Sat, 16 Dec 2017 00:38:05 -0800 Subject: [PATCH] Add GUI testing to travis --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index a1e4479..ac66ed6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,6 +26,14 @@ addons: - libsm-dev - libgtk-3-dev - libwebkitgtk-3.0-dev + - mesa-utils + - xvfb + + +before_install: + - export DISPLAY=:99 + - export LIBGL_ALWAYS_SOFTWARE=1 + - /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1400x900x24 -ac +extension GLX +render # command to install dependencies install: