aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/py/mock/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/py/mock/tox.ini')
-rw-r--r--third_party/py/mock/tox.ini40
1 files changed, 40 insertions, 0 deletions
diff --git a/third_party/py/mock/tox.ini b/third_party/py/mock/tox.ini
new file mode 100644
index 0000000000..58e29d2b77
--- /dev/null
+++ b/third_party/py/mock/tox.ini
@@ -0,0 +1,40 @@
+[tox]
+envlist = 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'` \ No newline at end of file