8000 Add xvfb service to travis · matplotlib/matplotlib@06a479a · GitHub
[go: up one dir, main page]

Skip to content

Commit 06a479a

Browse files
committed
Add xvfb service to travis
1 parent 99af9e3 commit 06a479a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ language: python
33
dist: xenial
44
sudo: false
55

6+
services:
7+
- xvfb
8+
69
branches:
710
except:
811
- /^auto-backport-of-pr-\d*/
@@ -158,10 +161,6 @@ install:
158161
python -mpip install -ve .
159162
160163
before_script: |
161-
if [[ $TRAVIS_OS_NAME != 'osx' ]]; then
162-
export DISPLAY=:99.0
163-
sh -e /etc/init.d/xvfb start
164-
fi
165164
if [[ $DELETE_FONT_CACHE == 1 ]]; then
166165
rm -rf ~/.cache/matplotlib
167166
fi

0 commit comments

Comments
 (0)
0