Skip to content

Commit 8e29b1c

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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ env:
5858
- PYTEST='pytest>=3.4'
5959
- PYTEST_COV=pytest-cov
6060
- PYTEST_PEP8=
61+
- PYTEST_TIMEOUT=pytest-timeout
6162
- SPHINX=sphinx
6263
# Variables controlling the build.
6364
- MPLLOCALFREETYPE=1
@@ -86,6 +87,7 @@ matrix:
8687
- PYPARSING=pyparsing==2.0.1
8788
- PYTEST=pytest==3.4
8889
- PYTEST_COV=pytest-cov==2.3.1
90+
- PYTEST_TIMEOUT==1.2.1 # Newer pytest-timeouts don't support pytest 3.4.
8991
- SPHINX=sphinx==1.3
9092
- python: 3.5
9193
env:
@@ -177,7 +179,7 @@ install:
177179
pytest-faulthandler \
178180
$PYTEST_PEP8 \
179181
pytest-rerunfailures \
180-
pytest-timeout \
182+
$PYTEST_TIMEOUT \
181183
pytest-xdist
182184
- |
183185
# Install matplotlib

0 commit comments

Comments
 (0)