Skip to content

Commit 32cdb6b

Browse files
CI: Limit pytest-rerunfailures in minimal version test
1 parent 655ad9e commit 32cdb6b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ env:
5959
- PYPARSING=pyparsing
6060
- PYTEST='pytest>=3.6.1'
6161
- PYTEST_COV=pytest-cov
62+
- PYTEST_RERUNFAILURES=pytest-rerunfailures
6263
- PYTEST_PEP8=
6364
- PYTEST_TIMEOUT=pytest-timeout
6465
- SPHINX=sphinx
@@ -84,6 +85,7 @@ matrix:
8485
- PYPARSING=pyparsing==2.0.1
8586
- PYTEST=pytest==3.6.1
8687
- PYTEST_COV=pytest-cov==2.3.1
88+
- PYTEST_RERUNFAILURES='pytest-rerunfailures<6' # 6 needs pytest >=3.8
8789
- PYTEST_TIMEOUT=pytest-timeout==1.2.1 # Newer pytest-timeouts don't support pytest <3.4.
8890
- SPHINX=sphinx==1.3
8991
- python: 3.4
@@ -180,7 +182,7 @@ install:
180182
$PYTEST_COV \
181183
pytest-faulthandler \
182184
$PYTEST_PEP8 \
183-
pytest-rerunfailures \
185+
$PYTEST_RERUNFAILURES \
184186
$PYTEST_TIMEOUT \
185187
pytest-xdist
186188

0 commit comments

Comments
 (0)