Skip to content

Commit 18f47c3

Browse files
authored
Merge pull request #125 from google/xvfb
Start xvfb using 'services' rather than a run script.
2 parents 0de948c + 776a389 commit 18f47c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: .travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ before_script:
99
- sudo apt-get update
1010
- sudo apt-get install python3-dev
1111
- if [ $CI_TARGET = vim ]; then
12-
sudo apt-get install vim-gnome &&
13-
export DISPLAY=:99.0 &&
14-
sh -e /etc/init.d/xvfb start;
12+
sudo apt-get install vim-gnome;
1513
elif [ $CI_TARGET = neovim ]; then
1614
eval "$(curl -Ss https://raw.githubusercontent.com/neovim/bot-ci/master/scripts/travis-setup.sh) nightly-x64" &&
1715
wget https://bootstrap.pypa.io/get-pip.py &&
@@ -22,6 +20,8 @@ before_script:
2220
- sudo dpkg -i ./vroom_0.12.0-1_all.deb
2321
- git clone -b ${MAKTABA_VERSION} https://github.com/google/vim-maktaba.git ../maktaba/
2422
- git clone https://github.com/google/vim-glaive.git ../glaive/
23+
services:
24+
- xvfb
2525
script:
2626
- '[ $CI_TARGET = neovim ] && VROOM_ARGS="--neovim" || VROOM_ARGS=""'
2727
- vroom $VROOM_ARGS --crawl ./vroom/

0 commit comments

Comments
 (0)