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}
18 jenkins-job-builder==2.5.0
20 jenkins-jobs test -o job_output -r {posargs:"jjb/"}
23 deps = -r{toxinidir}/docs/requirements.txt
25 sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs {toxinidir}/docs/_build/html
26 echo "Generated docs available in {toxinidir}/docs/_build/html"
27 whitelist_externals = echo
29 [testenv:docs-linkcheck]
30 deps = -r{toxinidir}/docs/requirements.txt
31 commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs {toxinidir}/docs/_build/linkcheck