summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2014-11-21 18:54:20 -0600
committerMichael Merickel <michael@merickel.org>2014-11-21 18:54:20 -0600
commitcf4ad5eaea4af3da3bbac4c421fe5f959ed1d256 (patch)
tree3d3ffc3f694e2ca430a1b56fa58bfb00c0a1e07b /tox.ini
parentf6b30ee045fdf5c63daff1168a47016b8aded919 (diff)
downloadpyramid-cf4ad5eaea4af3da3bbac4c421fe5f959ed1d256.tar.gz
pyramid-cf4ad5eaea4af3da3bbac4c421fe5f959ed1d256.tar.bz2
pyramid-cf4ad5eaea4af3da3bbac4c421fe5f959ed1d256.zip
update tox/travis to check code coverage on py3
coverage is combined between py2 and py3 for an aggregate coverage metric. This means we can stop putting "no cover" gates around py3 code and ignoring whether it's ever tested.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini12
1 files changed, 7 insertions, 5 deletions
diff --git a/tox.ini b/tox.ini
index 3f32dbc3f..ba0007d7a 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,15 +1,17 @@
[tox]
envlist =
- py26,py27,py32,py33,py34,pypy,pypy3,cover
+ clean,py26,py27,py32,py33,py34,pypy,pypy3,report
+
+[testenv:clean]
+commands = coverage erase
+deps = coverage
[testenv]
commands =
python setup.py dev
- python setup.py test -q
+ python setup.py nosetests --with-coverage
-[testenv:cover]
-basepython =
- python2.6
+[testenv:report]
commands =
python setup.py dev
python setup.py nosetests --with-xunit --with-xcoverage --cover-min-percentage=100