mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
travis: Setup xvfb for running xclip tests
This commit is contained in:
parent
d561ba223d
commit
6f5f3faa84
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user