python/mock-1.0.0/tox.ini
author Ralph Giles <giles@mozilla.com>
Fri, 06 Feb 2015 10:26:00 -0800
changeset 228809 07479758ab6870988d3165990e8d4b468628aeba
parent 112588 5981ff9d3f45de802d956b2f8e064f49b74cb7a6
permissions -rw-r--r--
Bug 794723 - Add a default makefile which wraps mach. r=gps This makes it easier for new contributors to get a build started without having to know about our mach driver.

[tox]
envlist = py24,py25,py26,py27,py31,pypy,py32,py33,jython

[testenv]
deps=unittest2
commands={envbindir}/unit2 discover []

[testenv:py26]
commands=
    {envbindir}/unit2 discover []
    {envbindir}/sphinx-build -E -b doctest docs html
    {envbindir}/sphinx-build -E docs html
deps =
    unittest2
    sphinx

[testenv:py27]
commands=
    {envbindir}/unit2 discover []
    {envbindir}/sphinx-build -E -b doctest docs html
deps =
    unittest2
    sphinx

[testenv:py31]
deps =
    unittest2py3k

[testenv:py32]
commands=
    {envbindir}/python -m unittest discover []
deps =

[testenv:py33]
commands=
    {envbindir}/python -m unittest discover []
deps =

# note for jython. Execute in tests directory:
# rm `find . -name '*$py.class'`