Add coverage report

This commit is contained in:
jpic 2016-06-15 21:44:36 +02:00
parent 2f27d04c86
commit 049d6f65ae

11
tox.ini
View File

@ -1,18 +1,25 @@
[tox]
envlist = py{27,35}
[base]
commands =
coverage report -m
[testenv]
usedevelop = true
commands =
python -m unittest
coverage run -m unittest
{[base]commands}
deps =
asgiref
twisted
autobahn
coverage
[testenv:py27]
commands =
python -m unittest2
coverage run -m unittest2
{[base]commands}
deps =
unittest2
{[testenv]deps}