Tres Seaver
2014-12-12 9e695787239812a2d1e1da8f9a560e3097261167
commit | author | age
96e536 1 [tox]
TS 2 envlist = 
7b0a91 3     py26,py27,pypy,py32,py33,py34,pypy3,cover,docs
96e536 4
TS 5 [testenv]
6 commands = 
7     python setup.py test -q
8 deps =
9     zope.interface
10     WebOb
11     virtualenv
12
13 [testenv:cover]
14 basepython =
15     python2.6
16 commands = 
f48ebb 17     coverage erase
TS 18     coverage run --timid --source=repoze setup.py test -q
19     coverage report --show-missing --omit="*fixture*"
20     coverage xml
96e536 21 deps =
TS 22     zope.interface
23     WebOb
24     virtualenv
03b15b 25     coverage
96e536 26
TS 27 # we separate coverage into its own testenv because a) "last run wins" wrt
28 # cobertura jenkins reporting and b) pypy and jython can't handle any
29 # combination of versions of coverage and nosexcover that i can find.
58c1e9 30
TS 31 [testenv:docs]
32 basepython =
33     python2.6
34 commands = 
35     sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
36     sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest
37 deps =
38     Sphinx
39     repoze.sphinx.autointerface