Attempt to fix intermittent CI build failures by changing to new Travis Ci syntax (see https://benlimmer.com/2019/01/14/travis-ci-xvfb/)
@@ -3,9 +3,10 @@ python:
- 2.7
- 3.5
- 3.6
+services:
+ - xvfb
before_install:
- export DISPLAY=:99.0
-- sh -e /etc/init.d/xvfb start
- sudo apt-get update
- if [[ "$TRAVIS_PYTHON_VERSION" == 2* ]]; then wget http://repo.continuum.io/miniconda/Miniconda-3.7.0-Linux-x86_64.sh
-O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-3.7.0-Linux-x86_64.sh
