Adding coverage generation to tox (#2071)

* Adding coverage generation to tox

* Removing test directory from coverage command

* Adding back  to pytest command
This commit is contained in:
Alex Kahan 2016-10-31 18:10:27 -04:00 committed by Markus Unterwaditzer
parent cb30a3b562
commit 6478d7bb99
2 changed files with 9 additions and 2 deletions

6
.gitignore vendored
View File

@ -11,3 +11,9 @@ _mailinglist
.tox
.cache/
.idea/
# Coverage reports
htmlcov
.coverage
.coverage.*
*,cover

View File

@ -4,11 +4,12 @@ envlist = {py26,py27,pypy}-{lowest,release,devel}{,-simplejson}, {py33,py34,py35
[testenv]
usedevelop=true
commands =
py.test []
py.test [] --cov=flask --cov-report html
deps=
pytest
pytest-cov
greenlet
lowest: Werkzeug==0.7