Skip to content

Commit 3105c49

Browse files
ksundenuntzag
authored andcommitted
Move to service instead of involking xvfb directly (#860)
* Move to service instead of involking xvfb directly * Update .travis.yml * remove sudo=false https://blog.travis-ci.com/2018-10-04-combining-linux-infrastructures
1 parent f64a4eb commit 3105c49

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.travis.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@ language: python
22
matrix:
33
include:
44
- python: 3.6
5-
dist: trusty
6-
sudo: false
5+
dist: xenial
76
- python: 3.7
87
dist: xenial
9-
sudo: true
108
addons:
119
apt:
1210
packages:
@@ -16,8 +14,6 @@ install:
1614
- pip install cython
1715
- pip install .
1816
- pip install -U pytest "coverage<5"
19-
before_script:
20-
- "export DISPLAY=:99.0"
21-
- "sh -e /etc/init.d/xvfb start"
22-
- sleep 3 # give xvfb some time to start
17+
services:
18+
- xvfb
2319
script: python setup.py test

0 commit comments

Comments
 (0)