From 45f7ae26fe6731cd25db103d23d6bc299421c26b Mon Sep 17 00:00:00 2001 From: Carl Meyer Date: Sun, 27 Jan 2013 13:18:53 -0800 Subject: [PATCH] Add code coverage measurement to tox.ini. --- tox.ini | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index d272e7f..e6fc509 100644 --- a/tox.ini +++ b/tox.ini @@ -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