Don't span more than 4 threads (because Travis-CI ;))
This commit is contained in:
parent
a7dbd4ab39
commit
c3dafff1da
1 changed files with 2 additions and 1 deletions
3
tox.ini
3
tox.ini
|
@ -3,11 +3,12 @@ envlist = py27, py34, py35, py36, flake8
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
commands =
|
commands =
|
||||||
{envbindir}/py.test --tb=short -n auto \
|
{envbindir}/py.test --tb=short -n 4 \
|
||||||
--junitxml={toxworkdir}/junit-{envname}.xml \
|
--junitxml={toxworkdir}/junit-{envname}.xml \
|
||||||
--cov=dosagelib --cov-config=tox.ini --cov-branch \
|
--cov=dosagelib --cov-config=tox.ini --cov-branch \
|
||||||
--cov-report=term \
|
--cov-report=term \
|
||||||
--cov-report=xml:{toxworkdir}/cov-{envname}.xml \
|
--cov-report=xml:{toxworkdir}/cov-{envname}.xml \
|
||||||
|
--cov-report=html:{toxworkdir}/cov-{envname} \
|
||||||
{posargs}
|
{posargs}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue