Don't span more than 4 threads (because Travis-CI ;))

This commit is contained in:
Tobias Gruetzmacher 2017-12-19 23:08:35 +01:00
parent a7dbd4ab39
commit c3dafff1da

View file

@ -3,11 +3,12 @@ envlist = py27, py34, py35, py36, flake8
[testenv]
commands =
{envbindir}/py.test --tb=short -n auto \
{envbindir}/py.test --tb=short -n 4 \
--junitxml={toxworkdir}/junit-{envname}.xml \
--cov=dosagelib --cov-config=tox.ini --cov-branch \
--cov-report=term \
--cov-report=xml:{toxworkdir}/cov-{envname}.xml \
--cov-report=html:{toxworkdir}/cov-{envname} \
{posargs}