Skip to content

Commit dc04bb7

Browse files
committed
test with pytest42
1 parent 043470e commit dc04bb7

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.travis.yml

+4
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ jobs:
3030
- python: 3.8
3131
env: TOXENV=py38-dj30-sqlite-xdist-coverage
3232

33+
# Explicitly test oldest supported pytest.
34+
- python: 3.7
35+
env: TOXENV=py37-dj21-sqlite-pytest42-coverage
36+
3337
- python: 3.6
3438
env: TOXENV=py36-djmaster-sqlite-coverage
3539

tox.ini

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ deps =
2727
postgres: psycopg2-binary
2828
coverage: coverage-enable-subprocess
2929

30+
# Oldest supported pytest.
31+
pytest42: pytest>=4.1,<4.2
32+
pytest42: attrs==17.4.0
3033
xdist: pytest-xdist>=1.15
3134

3235
setenv =

0 commit comments

Comments
 (0)