Browse Source

Adding coverage generation to tox (#2071)

* Adding coverage generation to tox

* Removing test directory from coverage command

* Adding back  to pytest command
pull/2072/head
Alex Kahan 8 years ago committed by Markus Unterwaditzer
parent
commit
6478d7bb99
  1. 6
      .gitignore
  2. 5
      tox.ini

6
.gitignore vendored

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

5
tox.ini

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

Loading…
Cancel
Save