@@ -3,6 +3,9 @@ language: python
33dist : xenial
44sudo : false
55
6+ services :
7+ - xvfb
8+
69branches :
710 except :
811 - /^auto-backport-of-pr-\d*/
@@ -37,6 +40,7 @@ addons:
3740 - texlive-latex-extra
3841 - texlive-latex-recommended
3942 - texlive-xetex
43+ - xvfb
4044
4145env :
4246 global :
5357 - PANDAS=
5458 - PILLOW=pillow
5559 - PYPARSING=pyparsing
56- # pytest-timeout master depends on pytest>=3.6. Testing with pytest 3.1 is
57- # still supported; this is tested by the first matrix entry.
58- - PYTEST='pytest>=3.6,<3.8'
60+ - PYTEST='pytest>=3.6.1'
5961 - PYTEST_COV=pytest-cov
6062 - PYTEST_RERUNFAILURES=pytest-rerunfailures
6163 - PYTEST_PEP8=
@@ -72,6 +74,7 @@ matrix:
7274 include :
7375 - python : 2.7
7476 # pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124.
77+ # pytest>=3.6.1 due to https://github.com/pytest-dev/pytest/commit/b5a94d8e6c49201c8c79a7c52b8466e020e6d6b8
7578 env :
7679 - CYCLER=cycler==0.10
7780 - DATEUTIL=python-dateutil==2.1
@@ -80,10 +83,10 @@ matrix:
8083 - NUMPY=numpy==1.7.1
8184 - PANDAS='pandas<0.21.0'
8285 - PYPARSING=pyparsing==2.0.1
83- - PYTEST=pytest==3.1.0
86+ - PYTEST=pytest==3.6.1
8487 - PYTEST_COV=pytest-cov==2.3.1
88+ - PYTEST_RERUNFAILURES='pytest-rerunfailures<6' # 6 needs pytest >=3.8
8589 - PYTEST_TIMEOUT=pytest-timeout==1.2.1 # Newer pytest-timeouts don't support pytest <3.4.
86- - PYTEST_RERUNFAILURES='pytest-rerunfailures<5' # 5 needs pytest>=3.6
8790 - SPHINX=sphinx==1.3
8891 - python : 3.4
8992 env : PYTHON_ARGS=-OO
@@ -122,7 +125,7 @@ before_install:
122125 else
123126 brew update
124127 brew tap homebrew/gui
125- brew install python libpng ffmpeg imagemagick mplayer ccache
128+ # brew install python libpng ffmpeg imagemagick mplayer ccache
126129 # We could install ghostscript and inkscape here to test svg and pdf
127130 # but this makes the test time really long.
128131 # brew install ghostscript inkscape
@@ -189,12 +192,6 @@ install:
189192 # Install matplotlib
190193 pip install -ve .
191194
192- before_script :
193- - |
194- if [[ $TRAVIS_OS_NAME != 'osx' ]]; then
195- export DISPLAY=:99.0
196- sh -e /etc/init.d/xvfb start
197- fi
198195
199196script : ci/travis/test_script.sh
200197
0 commit comments