Michael Foord | 1e68bec | 2012-03-03 22:24:30 +0000 | [diff] [blame] | 1 | [tox] |
Hugo | b67fe8a | 2017-10-28 16:01:45 +0300 | [diff] [blame] | 2 | envlist = py27,pypy,py33,jython |
Michael Foord | 1e68bec | 2012-03-03 22:24:30 +0000 | [diff] [blame] | 3 | |
| 4 | [testenv] |
| 5 | deps=unittest2 |
| 6 | commands={envbindir}/unit2 discover [] |
| 7 | |
Michael Foord | 1e68bec | 2012-03-03 22:24:30 +0000 | [diff] [blame] | 8 | [testenv:py27] |
| 9 | commands= |
| 10 | {envbindir}/unit2 discover [] |
| 11 | {envbindir}/sphinx-build -E -b doctest docs html |
| 12 | deps = |
| 13 | unittest2 |
| 14 | sphinx |
| 15 | |
Michael Foord | b14e284 | 2012-10-07 18:00:10 +0100 | [diff] [blame] | 16 | [testenv:py33] |
| 17 | commands= |
| 18 | {envbindir}/python -m unittest discover [] |
| 19 | deps = |
| 20 | |
Michael Foord | 1e68bec | 2012-03-03 22:24:30 +0000 | [diff] [blame] | 21 | # note for jython. Execute in tests directory: |
| 22 | # rm `find . -name '*$py.class'` |