1 # Tox (http://tox.testrun.org/) is a tool for running tests
2 # in multiple virtualenvs. This configuration file will run the
3 # test suite on all supported python versions. To use it, "pip install tox"
4 # and then run "tox" from this directory.
7 envlist = jjb,docs,docs-linkcheck
14 PYTHONPATH = {toxinidir}
19 jenkins-job-builder==2.5.0
21 jenkins-jobs test -o job_output -r {posargs:"jjb/"}
25 deps = -r{toxinidir}/docs/requirements.txt
27 sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs {toxinidir}/docs/_build/html
28 echo "Generated docs available in {toxinidir}/docs/_build/html"
29 whitelist_externals = echo
31 [testenv:docs-linkcheck]
33 deps = -r{toxinidir}/docs/requirements.txt
34 commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs {toxinidir}/docs/_build/linkcheck