Tres Seaver
2014-12-16 4882da458382125879dd750d34b1a8eb283e3793
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 = 
4882da 17     nosetests -qq
f48ebb 18     coverage erase
TS 19     coverage run --timid --source=repoze setup.py test -q
20     coverage report --show-missing --omit="*fixture*"
21     coverage xml
96e536 22 deps =
TS 23     zope.interface
24     WebOb
25     virtualenv
4882da 26     nose
03b15b 27     coverage
96e536 28
TS 29 # we separate coverage into its own testenv because a) "last run wins" wrt
30 # cobertura jenkins reporting and b) pypy and jython can't handle any
31 # combination of versions of coverage and nosexcover that i can find.
58c1e9 32
TS 33 [testenv:docs]
34 basepython =
35     python2.6
36 commands = 
37     sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
38     sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest
39 deps =
40     Sphinx
41     repoze.sphinx.autointerface