From 06a479a5bc6105299008cf046c0545d6ae48f587 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Thu, 17 Jan 2019 12:32:40 +0000 Subject: [PATCH] Add xvfb service to travis --- .travis.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index e3ef9dca968d..c3aa84fea282 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,9 @@ language: python dist: xenial sudo: false +services: + - xvfb + branches: except: - /^auto-backport-of-pr-\d*/ @@ -158,10 +161,6 @@ install: python -mpip install -ve . before_script: | - if [[ $TRAVIS_OS_NAME != 'osx' ]]; then - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - fi if [[ $DELETE_FONT_CACHE == 1 ]]; then rm -rf ~/.cache/matplotlib fi