Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4ea916a

Browse files
authored
Merge pull request #11444 from anntzer/pin-pytest-timeout
Pin pytest-timeout to fix the build.
2 parents 5a927c1 + 945c016 commit 4ea916a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.travis.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,12 @@ env:
5656
- PANDAS=
5757
- JUPYTER=
5858
- PYPARSING=pyparsing
59-
- PYTEST='pytest>=3.4'
59+
# pytest-timeout master depends on pytest>=3.6. Testing with pytest 3.4 is
60+
# still supported; this is tested by the first matrix entry.
61+
- PYTEST='pytest>=3.6'
6062
- PYTEST_COV=pytest-cov
6163
- PYTEST_PEP8=
64+
- PYTEST_TIMEOUT=pytest-timeout
6265
- SPHINX=sphinx
6366
# Variables controlling the build.
6467
- MPLLOCALFREETYPE=1
@@ -87,6 +90,7 @@ matrix:
8790
- PYPARSING=pyparsing==2.0.1
8891
- PYTEST=pytest==3.4
8992
- PYTEST_COV=pytest-cov==2.3.1
93+
- PYTEST_TIMEOUT=pytest-timeout==1.2.1 # Newer pytest-timeouts don't support pytest 3.4.
9094
- SPHINX=sphinx==1.3
9195
- python: 3.5
9296
env:
@@ -180,7 +184,7 @@ install:
180184
pytest-faulthandler \
181185
$PYTEST_PEP8 \
182186
pytest-rerunfailures \
183-
pytest-timeout \
187+
$PYTEST_TIMEOUT \
184188
pytest-xdist
185189
- |
186190
# Install matplotlib

0 commit comments

Comments
 (0)