aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-10-23 10:40:52 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-10-23 21:19:08 -0300
commit6f5f3faa840a70e9e2b0a532f0f76c9a755421b9 (patch)
treef25606393a1cca0ae8361ef5203c704ee313d584
parentd561ba223d799f02033a22fbc5f49d10ea3d50e5 (diff)
downloadrneovim-6f5f3faa840a70e9e2b0a532f0f76c9a755421b9.tar.gz
rneovim-6f5f3faa840a70e9e2b0a532f0f76c9a755421b9.tar.bz2
rneovim-6f5f3faa840a70e9e2b0a532f0f76c9a755421b9.zip
travis: Setup xvfb for running xclip tests
-rw-r--r--.travis.yml4
1 files changed, 4 insertions, 0 deletions
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