blob: 58e29d2b778f4b139b026884ba867c8a7d5f55be [file] [log] [blame]
Michael Foord1e68bec2012-03-03 22:24:30 +00001[tox]
Michael Foord3860ed42012-11-05 21:38:05 +00002envlist = py25,py26,py27,py31,pypy,py32,py33,jython
Michael Foord1e68bec2012-03-03 22:24:30 +00003
4[testenv]
5deps=unittest2
6commands={envbindir}/unit2 discover []
7
8[testenv:py26]
9commands=
10 {envbindir}/unit2 discover []
11 {envbindir}/sphinx-build -E -b doctest docs html
12 {envbindir}/sphinx-build -E docs html
13deps =
14 unittest2
15 sphinx
16
17[testenv:py27]
18commands=
19 {envbindir}/unit2 discover []
20 {envbindir}/sphinx-build -E -b doctest docs html
21deps =
22 unittest2
23 sphinx
24
25[testenv:py31]
26deps =
27 unittest2py3k
28
29[testenv:py32]
30commands=
31 {envbindir}/python -m unittest discover []
32deps =
33
Michael Foordb14e2842012-10-07 18:00:10 +010034[testenv:py33]
35commands=
36 {envbindir}/python -m unittest discover []
37deps =
38
Michael Foord1e68bec2012-03-03 22:24:30 +000039# note for jython. Execute in tests directory:
40# rm `find . -name '*$py.class'`