Skip to content

Commit d0c699d

Browse files
committed
tests: make pytest-xdist optional
1 parent 8c54c21 commit d0c699d

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
include:
77
- stage: baseline
88
python: 3.6
9-
env: TOXENV=py36-dj20-postgres-coverage
9+
env: TOXENV=py36-dj20-postgres-xdist-coverage
1010
services:
1111
- postgresql
1212
- python: 3.6

setup.py

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ def read(fname):
4242
'testing': [
4343
'Django',
4444
'django-configurations>=2.0',
45-
'pytest-xdist>=1.15',
4645
'six',
4746
],
4847
},

tox.ini

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ deps =
2626
coverage: coverage-enable-subprocess
2727

2828
pytest41: pytest>=4.1,<4.2
29+
xdist: pytest-xdist>=1.15
2930

3031
setenv =
3132
PYTHONPATH = {toxinidir}:{env:PYTHONPATH:}

0 commit comments

Comments
 (0)