python/mock-1.0.0/tox.ini

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python/mock-1.0.0/tox.ini	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,40 @@
     1.4 +[tox]
     1.5 +envlist = py24,py25,py26,py27,py31,pypy,py32,py33,jython
     1.6 +
     1.7 +[testenv]
     1.8 +deps=unittest2
     1.9 +commands={envbindir}/unit2 discover []
    1.10 +
    1.11 +[testenv:py26]
    1.12 +commands=
    1.13 +    {envbindir}/unit2 discover []
    1.14 +    {envbindir}/sphinx-build -E -b doctest docs html
    1.15 +    {envbindir}/sphinx-build -E docs html
    1.16 +deps =
    1.17 +    unittest2
    1.18 +    sphinx
    1.19 +
    1.20 +[testenv:py27]
    1.21 +commands=
    1.22 +    {envbindir}/unit2 discover []
    1.23 +    {envbindir}/sphinx-build -E -b doctest docs html
    1.24 +deps =
    1.25 +    unittest2
    1.26 +    sphinx
    1.27 +
    1.28 +[testenv:py31]
    1.29 +deps =
    1.30 +    unittest2py3k
    1.31 +
    1.32 +[testenv:py32]
    1.33 +commands=
    1.34 +    {envbindir}/python -m unittest discover []
    1.35 +deps =
    1.36 +
    1.37 +[testenv:py33]
    1.38 +commands=
    1.39 +    {envbindir}/python -m unittest discover []
    1.40 +deps =
    1.41 +
    1.42 +# note for jython. Execute in tests directory:
    1.43 +# rm `find . -name '*$py.class'`
    1.44 \ No newline at end of file

mercurial