Add code coverage measurement to tox.ini.

This commit is contained in:
Carl Meyer 2013-01-27 13:18:53 -08:00
parent 1fc01c39de
commit 45f7ae26fe

13
tox.ini
View file

@ -5,40 +5,47 @@ envlist=py26-1.2,py26-1.3,py26,py26-trunk,py27-1.2,py27-1.3,py27,py27-trunk
deps=
django==1.4.3
South==0.7.3
commands=python setup.py test
coverage==3.6
commands=coverage run --branch setup.py test
[testenv:py26-1.2]
basepython=python2.6
deps=
django==1.2.7
South==0.7.3
coverage==3.6
[testenv:py26-1.3]
basepython=python2.6
deps=
django==1.3.5
South==0.7.3
coverage==3.6
[testenv:py26-trunk]
basepython=python2.6
deps=
https://github.com/django/django/tarball/master
South==0.7.3
coverage==3.6
[testenv:py27-1.2]
basepython=python2.7
deps=
django==1.2.7
South==0.7.3
coverage==3.6
[testenv:py27-1.3]
basepython=python2.7
deps=
django==1.3.5
South==0.7.3
coverage==3.6
[testenv:py27-trunk]
basepython=python2.7
deps=
https://github.com/django/django/tarball/master
South==0.7.3
coverage==3.6