Adds StorPerf Iruya branch
[releng.git] / tox.ini
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.
5
6 [tox]
7 envlist = jjb,docs,docs-linkcheck
8 skipsdist = True
9
10 [testenv]
11 usedevelop = False
12 setenv=
13   HOME = {envtmpdir}
14   PYTHONPATH = {toxinidir}
15
16 [testenv:jjb]
17 basepython = python3
18 deps =
19   jenkins-job-builder==2.5.0
20 commands=
21   jenkins-jobs test -o job_output -r {posargs:"jjb/"}
22
23 [testenv:docs]
24 basepython = python3
25 deps = -r{toxinidir}/docs/requirements.txt
26 commands =
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
30
31 [testenv:docs-linkcheck]
32 basepython = python3
33 deps = -r{toxinidir}/docs/requirements.txt
34 commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs {toxinidir}/docs/_build/linkcheck