Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 26 lines (21 sloc) 0.602 kB
de07100 @mcdonc add tox.ini for testing
mcdonc authored
1 [tox]
2 envlist =
a7ae203 @tseaver Add testing for PyPy3.
tseaver authored
3 py26,py27,pypy,py32,py33,py34,pypy3,cover
de07100 @mcdonc add tox.ini for testing
mcdonc authored
4
5 [testenv]
6 commands =
8f1d72c @tseaver Silence setuptools chatter.
tseaver authored
7 python setup.py -q dev
8 python setup.py -q test -q
de07100 @mcdonc add tox.ini for testing
mcdonc authored
9
10 [testenv:cover]
11 basepython =
8f1d72c @tseaver Silence setuptools chatter.
tseaver authored
12 python2.7
de07100 @mcdonc add tox.ini for testing
mcdonc authored
13 commands =
8f1d72c @tseaver Silence setuptools chatter.
tseaver authored
14 python setup.py -q dev
3bb0fcd @tseaver Require 100% test coverage.
tseaver authored
15 nosetests --with-xunit --with-xcoverage --cover-min-percentage=100
de07100 @mcdonc add tox.ini for testing
mcdonc authored
16 deps =
8f1d72c @tseaver Silence setuptools chatter.
tseaver authored
17 nose
18 coverage
de07100 @mcdonc add tox.ini for testing
mcdonc authored
19 nosexcover
20
21 # we separate coverage into its own testenv because a) "last run wins" wrt
22 # cobertura jenkins reporting and b) pypy and jython can't handle any
23 # combination of versions of coverage and nosexcover that i can find.
f2ff1e8 @mcdonc - Add tox.ini for testing.
mcdonc authored
24 # coverage==3.4 is required by nosexcover.
de07100 @mcdonc add tox.ini for testing
mcdonc authored
25
Something went wrong with that request. Please try again.