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:
parent
cb30a3b562
commit
6478d7bb99
2 changed files with 9 additions and 2 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
|
@ -11,3 +11,9 @@ _mailinglist
|
|||
.tox
|
||||
.cache/
|
||||
.idea/
|
||||
|
||||
# Coverage reports
|
||||
htmlcov
|
||||
.coverage
|
||||
.coverage.*
|
||||
*,cover
|
||||
|
|
|
|||
5
tox.ini
5
tox.ini
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue