File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed
Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 11# .coveragerc to control coverage.py
22[run]
33# Source
4- source = cmd .py,tests
4+ source = cmd2 .py
55# (boolean, default False): whether to measure branch coverage in addition to statement coverage.
66branch = False
77
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ testpaths = tests
66
77[testenv]
88passenv = CI TRAVIS TRAVIS_* APPVEYOR*
9+ setenv =
10+ PYTHONPATH ={toxinidir}
911
1012[testenv:py27]
1113deps =
1820 pytest-xdist
1921 six
2022commands =
21- py.test -v --cov =cmd2 -nauto -- cov-report =term-missing tests
23+ py.test {posargs: -n 2} --cov =cmd2 -- cov-report =term-missing
2224 codecov
2325
2426[testenv:py33]
2931 pytest
3032 pytest-xdist
3133 six
32- commands = py.test -v -nauto
34+ commands = py.test -v -n2
3335
3436[testenv:py34]
3537deps =
3941 pytest
4042 pytest-xdist
4143 six
42- commands = py.test -v -nauto
44+ commands = py.test -v -n2
4345
4446[testenv:py35]
4547deps =
4951 pytest
5052 pytest-xdist
5153 six
52- commands = py.test -v -nauto
54+ commands = py.test -v -n2
5355
5456[testenv:py36]
5557deps =
6264 pytest-xdist
6365 six
6466commands =
65- py.test -v --cov =cmd2 -nauto -- cov-report =term-missing tests
67+ py.test {posargs: -n 2} --cov =cmd2 -- cov-report =term-missing
6668 codecov
6769
6870[testenv:py36-win]
7375 pytest
7476 pytest-xdist
7577 six
76- commands = py.test -v -nauto
78+ commands = py.test -v -n2
7779
7880[testenv:py37]
7981deps =
8385 pytest
8486 pytest-xdist
8587 six
86- commands = py.test -v -nauto
88+ commands = py.test -v -n2
8789
You can’t perform that action at this time.
0 commit comments