From cd4b8d05a314c2d7954b587cc9407dbe9658f64e Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Thu, 17 Jan 2019 09:40:18 -0500 Subject: [PATCH] Backport PR #13205: Add xvfb service to travis --- .travis.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index c3a8c2114552..5018bb72438a 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*/ @@ -156,10 +159,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