Skip to content

Commit

Permalink
Move to service instead of involking xvfb directly (#860)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
ksunden authored and untzag committed Jan 17, 2019
1 parent f64a4eb commit 3105c49
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ language: python
matrix:
include:
- python: 3.6
dist: trusty
sudo: false
dist: xenial
- python: 3.7
dist: xenial
sudo: true
addons:
apt:
packages:
Expand All @@ -16,8 +14,6 @@ install:
- pip install cython
- pip install .
- pip install -U pytest "coverage<5"
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
services:
- xvfb
script: python setup.py test

0 comments on commit 3105c49

Please sign in to comment.