Chris McDonough
2015-03-16 32d9a193c3e3caa2582dbb9c277f5c3a5e55973b
commit | author | age
a758ab 1 [tox]
CM 2 envlist = 
32d9a1 3     py26,py27,pypy,cover
ff0cce 4
32d9a1 5 # this code actually works under py2.4 and py2.5 too but tox and virtualenv
CM 6 # have moved on and no longer support it, so we don't test them anymore.  It's
7 # also damn near impossible to test Pyramid under Jython anymore
e7abad 8 # (e.g. http://bugs.jython.org/issue1891 and weirdness with new setuptools), so
CM 9 # we don't bother, although in reality, it probably still runs under it.
a758ab 10
CM 11 [testenv]
12 commands = 
13     python setup.py test -q
14 deps =
15     Sphinx
16     repoze.sphinx.autointerface
17     virtualenv
18     PasteDeploy<1.5
19     Chameleon<1.4
20     WebOb<=1.0.99
21     WebTest<=1.2.99
0dab2b 22     zope.configuration<3.8.0
CM 23
24 [testenv:py25]
32d9a1 25 # only kept around for historical curiosity and version pinning details, unused
0dab2b 26 commands = 
CM 27     python setup.py test -q
28 deps =
29     Sphinx
30     repoze.sphinx.autointerface
31     virtualenv
32     PasteDeploy<1.5
33     Chameleon<1.4
34     WebOb<=1.0.99
35     WebTest<=1.2.99
36     zope.configuration<3.8.0
37     zope.schema<4.0.0
ff0cce 38     zope.interface<4.0.0
CM 39     zope.component<4.0.0
bd6a5e 40
a758ab 41 [testenv:cover]
CM 42 basepython =
43     python2.6
44 commands = 
45     python setup.py nosetests --with-xunit --with-xcoverage
46 deps =
47     Sphinx
48     repoze.sphinx.autointerface
49     virtualenv
50     PasteDeploy<1.5
51     Chameleon<1.4
52     WebOb<=1.0.99
53     WebTest<=1.2.99
0dab2b 54     zope.configuration<3.8.0
a758ab 55     nose
CM 56     coverage==3.4
57     nosexcover
58
59 # we separate coverage into its own testenv because a) "last run wins" wrt
60 # cobertura jenkins reporting and b) pypy and jython can't handle any
61 # combination of versions of coverage and nosexcover that i can find.