From 6f5f3faa840a70e9e2b0a532f0f76c9a755421b9 Mon Sep 17 00:00:00 2001 From: Thiago de Arruda Date: Thu, 23 Oct 2014 10:40:52 -0300 Subject: travis: Setup xvfb for running xclip tests --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 2746cba4ca..9bf7844a3e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,6 +17,10 @@ before_install: # That allows to test changing the group of the file by `os_fchown`. - sudo groupadd chown_test - sudo usermod -a -G chown_test ${USER} + # Need xvfb for running some tests with xclip + - export DISPLAY=:99.0 + - sh -e /etc/init.d/xvfb start + - sudo apt-get install xclip script: # This will pass the environment variables down to a bash process which runs # as $USER, while retaining the environment variables defined and belonging -- cgit