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

Skip to content

Commit 945c016

Browse files
committed
Pin pytest-timeout to fix the build.
1 parent f881e9b commit 945c016

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
@@ -55,9 +55,12 @@ env:
5555
- NUMPY=numpy
5656
- PANDAS=
5757
- PYPARSING=pyparsing
58-
- PYTEST='pytest>=3.4'
58+
# pytest-timeout master depends on pytest>=3.6. Testing with pytest 3.4 is
59+
# still supported; this is tested by the first matrix entry.
60+
- PYTEST='pytest>=3.6'
5961
- PYTEST_COV=pytest-cov
6062
- PYTEST_PEP8=
63+
- PYTEST_TIMEOUT=pytest-timeout
6164
- SPHINX=sphinx
6265
# Variables controlling the build.
6366
- MPLLOCALFREETYPE=1
@@ -86,6 +89,7 @@ matrix:
8689
- PYPARSING=pyparsing==2.0.1
8790
- PYTEST=pytest==3.4
8891
- PYTEST_COV=pytest-cov==2.3.1
92+
- PYTEST_TIMEOUT=pytest-timeout==1.2.1 # Newer pytest-timeouts don't support pytest 3.4.
8993
- SPHINX=sphinx==1.3
9094
- python: 3.5
9195
env:
@@ -177,7 +181,7 @@ install:
177181
pytest-faulthandler \
178182
$PYTEST_PEP8 \
179183
pytest-rerunfailures \
180-
pytest-timeout \
184+
$PYTEST_TIMEOUT \
181185
pytest-xdist
182186
- |
183187
# Install matplotlib

0 commit comments

Comments
 (0)