mirror of
https://github.com/django/daphne.git
synced 2025-04-20 08:42:18 +03:00
Add coverage report
This commit is contained in:
parent
2f27d04c86
commit
049d6f65ae
11
tox.ini
11
tox.ini
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue
Block a user