blob: ba0007d7ab7167612085446da31a1aac1dc5e57a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
[tox]
envlist =
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 nosetests --with-coverage
[testenv:report]
commands =
python setup.py dev
python setup.py nosetests --with-xunit --with-xcoverage --cover-min-percentage=100
deps =
nosexcover
# we separate coverage into its own testenv because a) "last run wins" wrt
# cobertura jenkins reporting and b) pypy and jython can't handle any
# combination of versions of coverage and nosexcover that i can find.
|