Add tox -e cover command

This commit is contained in:
vagrant 2015-12-01 15:02:14 +01:00 committed by Łukasz Oleś
parent d3b37c7b48
commit f7b665c74f
1 changed files with 6 additions and 0 deletions

View File

@ -21,6 +21,12 @@ deps = -r{toxinidir}/requirements.txt
sphinx
commands = {posargs:}
[testenv:cover]
commands =
coverage erase
python setup.py testr --coverage \
--testr-args='--concurrency=1 {posargs}'
[testenv:devenv]
envdir = devenv
usedevelop = True