Skip to content
Snippets Groups Projects
Commit f23c1b9a29af authored by Charlie Clark's avatar Charlie Clark
Browse files

Add tox config.

parent 48bc65cfdd7e
No related branches found
No related tags found
No related merge requests found
tox.ini 0 → 100644
# 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment