Tox: Pass {posargs} to py.test.

This commit is contained in:
Tobias Gruetzmacher 2016-04-16 22:57:45 +02:00
parent 35b9800da7
commit a3a7c7f688

View file

@ -4,7 +4,7 @@ envlist = py27, py35
[testenv]
commands =
{envbindir}/py.test --cov=dosage --cov=dosagelib --tb=short -n4 \
--junitxml={toxworkdir}/junit-{envname}.xml
--junitxml={toxworkdir}/junit-{envname}.xml {posargs}
- {envbindir}/flake8
passenv = TRAVIS
# Also install optional dependencies for tests.