Michael Foord | 1e68bec | 2012-03-03 22:24:30 +0000 | [diff] [blame] | 1 | [tox] |
| 2 | envlist = py24,py25,py26,py27,py31,pypy,py32,jython |
| 3 | |
| 4 | [testenv] |
| 5 | deps=unittest2 |
| 6 | commands={envbindir}/unit2 discover [] |
| 7 | |
| 8 | [testenv:py26] |
| 9 | commands= |
| 10 | {envbindir}/unit2 discover [] |
| 11 | {envbindir}/sphinx-build -E -b doctest docs html |
| 12 | {envbindir}/sphinx-build -E docs html |
| 13 | deps = |
| 14 | unittest2 |
| 15 | sphinx |
| 16 | |
| 17 | [testenv:py27] |
| 18 | commands= |
| 19 | {envbindir}/unit2 discover [] |
| 20 | {envbindir}/sphinx-build -E -b doctest docs html |
| 21 | deps = |
| 22 | unittest2 |
| 23 | sphinx |
| 24 | |
| 25 | [testenv:py31] |
| 26 | deps = |
| 27 | unittest2py3k |
| 28 | |
| 29 | [testenv:py32] |
| 30 | commands= |
| 31 | {envbindir}/python -m unittest discover [] |
| 32 | deps = |
| 33 | |
| 34 | # note for jython. Execute in tests directory: |
| 35 | # rm `find . -name '*$py.class'` |