Add coverage report

This commit is contained in:
William Tisäter
2015-05-01 19:59:09 +02:00
parent 402016ff03
commit 50c0a3b798
2 changed files with 7 additions and 2 deletions

1
.gitignore vendored
View File

@ -11,3 +11,4 @@
build/ build/
dist/ dist/
MySQLdb/release.py MySQLdb/release.py
.coverage

View File

@ -2,5 +2,9 @@
envlist = py26, py27, pypy, py33, py34 envlist = py26, py27, pypy, py33, py34
[testenv] [testenv]
commands = py.test commands =
deps = pytest py.test --cov {envsitepackagesdir}/MySQLdb
deps =
coverage==3.7.1
pytest
pytest-cov