Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd2736de

Browse files
authored
Revert "Backport#13205 on branch v3.0.x (Add xvfb service to travis) (#13216)"
This reverts commit4a63ccb.
1 parent4a63ccb commitd2736de

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

‎.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ install:
6666
-activate test-environment
6767
-echo %PYTHON_VERSION% %TARGET_ARCH%
6868
# pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124
69-
-pip install -q "pytest>=3.4,<4.0" "pytest-cov>=2.3.1" pytest-rerunfailures pytest-timeout pytest-xdist
69+
-pip install -q "pytest>=3.4" "pytest-cov>=2.3.1" pytest-rerunfailures pytest-timeout pytest-xdist
7070

7171
# Apply patch to `subprocess` on Python versions > 2 and < 3.6.3
7272
# https://github.com/matplotlib/matplotlib/issues/9176

‎.travis.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ language: python
33
dist:xenial
44
sudo:false
55

6-
services:
7-
-xvfb
8-
96
branches:
107
except:
118
-/^auto-backport-of-pr-\d*/
@@ -79,6 +76,8 @@ matrix:
7976
-RUN_FLAKE8=1
8077
-EXTRAREQS='-r requirements/testing/travis_flake8.txt'
8178
-python:3.5
79+
dist:trusty
80+
# pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124.
8281
env:
8382
-PINNEDVERS='-c requirements/testing/travis35.txt'
8483
-python:3.6
@@ -157,6 +156,10 @@ install:
157156
python -mpip install -ve .
158157
159158
before_script:|
159+
if [[ $TRAVIS_OS_NAME != 'osx' ]]; then
160+
export DISPLAY=:99.0
161+
sh -e /etc/init.d/xvfb start
162+
fi
160163
if [[ $DELETE_FONT_CACHE == 1 ]]; then
161164
rm -rf ~/.cache/matplotlib
162165
fi

‎requirements/testing/travis_all.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pillow
88
pyparsing
99
# pytest-timeout master depends on pytest>=3.6. Testing with pytest 3.4 is
1010
# still supported; this is tested by the first travis python 3.5 build
11-
pytest>=3.6,<4
11+
pytest>=3.6
1212
pytest-cov
1313
pytest-faulthandler
1414
pytest-rerunfailures

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp