diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000000000000000000000000000000000000..f23c1b9a29af560a1ff8a34ecb1ab733e6a51ea6_dG94LmluaQ== --- /dev/null +++ b/tox.ini @@ -0,0 +1,28 @@ +# Tox (http://tox.testrun.org/) is a tool for running tests +# in multiple virtualenvs. This configuration file will run the +# test suite on all supported python versions. To use it, "pip install tox" +# and then run "tox" from this directory. + +[tox] +envlist = + py26, + py27, + py33, + py34, + doc, + +[testenv] +commands = {envbindir}/py.test {posargs} +deps = + pytest + lxml + +[testenv:doc] +changedir = doc +setenv = APIDOC=True + +deps = + sphinx +commands = + sphinx-apidoc -f -T -M -o api {toxinidir}/et_xmlfile {toxinidir}/et_xmlfile/tests + sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html