michael@0: [tox] michael@0: envlist = py24,py25,py26,py27,py31,pypy,py32,py33,jython michael@0: michael@0: [testenv] michael@0: deps=unittest2 michael@0: commands={envbindir}/unit2 discover [] michael@0: michael@0: [testenv:py26] michael@0: commands= michael@0: {envbindir}/unit2 discover [] michael@0: {envbindir}/sphinx-build -E -b doctest docs html michael@0: {envbindir}/sphinx-build -E docs html michael@0: deps = michael@0: unittest2 michael@0: sphinx michael@0: michael@0: [testenv:py27] michael@0: commands= michael@0: {envbindir}/unit2 discover [] michael@0: {envbindir}/sphinx-build -E -b doctest docs html michael@0: deps = michael@0: unittest2 michael@0: sphinx michael@0: michael@0: [testenv:py31] michael@0: deps = michael@0: unittest2py3k michael@0: michael@0: [testenv:py32] michael@0: commands= michael@0: {envbindir}/python -m unittest discover [] michael@0: deps = michael@0: michael@0: [testenv:py33] michael@0: commands= michael@0: {envbindir}/python -m unittest discover [] michael@0: deps = michael@0: michael@0: # note for jython. Execute in tests directory: michael@0: # rm `find . -name '*$py.class'`