@@ -13,7 +13,7 @@ envlist =
13
13
{py27,py36}-{pexpect,xdist,trial,numpy,pluggymaster}
14
14
py27-nobyte
15
15
doctesting
16
- py35 -freeze
16
+ py36 -freeze
17
17
docs
18
18
19
19
[testenv]
@@ -56,12 +56,11 @@ deps =
56
56
hypothesis>=3.5.2
57
57
changedir =testing
58
58
commands =
59
- pytest -n1 -ra {posargs:.}
59
+ pytest -n8 -ra {posargs:.}
60
60
61
61
[testenv:py36-xdist]
62
62
deps = {[testenv:py27-xdist]deps}
63
- commands =
64
- pytest -n3 -ra {posargs:testing}
63
+ commands = {[testenv:py27-xdist]commands}
65
64
66
65
[testenv:py27-pexpect]
67
66
changedir = testing
@@ -71,11 +70,10 @@ commands =
71
70
pytest -ra test_pdb.py test_terminal.py test_unittest.py
72
71
73
72
[testenv:py36-pexpect]
74
- changedir = testing
75
- platform = linux|darwin
73
+ changedir = {[testenv:py27-pexpect]changedir}
74
+ platform = {[testenv:py27-pexpect]platform}
76
75
deps = {[testenv:py27-pexpect]deps}
77
- commands =
78
- pytest -ra test_pdb.py test_terminal.py test_unittest.py
76
+ commands = {[testenv:py27-pexpect]commands}
79
77
80
78
[testenv:py27-nobyte]
81
79
deps =
@@ -95,18 +93,16 @@ commands =
95
93
96
94
[testenv:py36-trial]
97
95
deps = {[testenv:py27-trial]deps}
98
- commands =
99
- pytest -ra {posargs:testing/test_unittest.py}
96
+ commands = {[testenv:py27-trial]commands}
100
97
101
98
[testenv:py27-numpy]
102
- deps = numpy
99
+ deps = numpy
103
100
commands =
104
101
pytest -ra {posargs:testing/python/approx.py}
105
102
106
103
[testenv:py36-numpy]
107
- deps =numpy
108
- commands =
109
- pytest -ra {posargs:testing/python/approx.py}
104
+ deps = {[testenv:py27-numpy]deps}
105
+ commands = {[testenv:py27-numpy]commands}
110
106
111
107
[testenv:py27-pluggymaster]
112
108
setenv =
@@ -115,12 +111,9 @@ deps =
115
111
{[testenv]deps}
116
112
git+https://github.com/pytest-dev/pluggy.git@master
117
113
118
- [testenv:py35-pluggymaster]
119
- setenv =
120
- _PYTEST_SETUP_SKIP_PLUGGY_DEP =1
121
- deps =
122
- {[testenv:py27-pluggymaster]deps}
123
- git+https://github.com/pytest-dev/pluggy.git@master
114
+ [testenv:py36-pluggymaster]
115
+ setenv = {[testenv:py27-pluggymaster]setenv}
116
+ deps = {[testenv:py27-pluggymaster]deps}
124
117
125
118
[testenv:docs]
126
119
skipsdist = True
@@ -176,7 +169,7 @@ changedir = testing
176
169
commands =
177
170
{envpython} {envbindir}/py.test-jython -ra {posargs}
178
171
179
- [testenv:py35 -freeze]
172
+ [testenv:py36 -freeze]
180
173
changedir = testing/freeze
181
174
deps = pyinstaller
182
175
commands =
@@ -199,7 +192,6 @@ commands =
199
192
[pytest]
200
193
minversion = 2.0
201
194
plugins = pytester
202
- # --pyargs --doctest-modules --ignore=.tox
203
195
addopts = -ra -p pytester --ignore =testing/cx_freeze
204
196
rsyncdirs = tox.ini pytest.py _pytest testing
205
197
python_files = test_*.py *_test.py testing/*/*.py
0 commit comments