Merge "Update cloud image Ubuntu16.04 mininet ovs"
[releng/builder.git] / tox.ini
1 [tox]
2 minversion = 1.6
3 envlist = docs,jjb-version,pre-commit,prefix,robot
4 skipsdist = true
5
6 [testenv:docs]
7 deps = -rdocs/requirements.txt
8 commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
9
10 [testenv:jenkins-jobs]
11 deps =
12     jenkins-job-builder=={env:JJB_VERSION:3.5.0}
13 commands =
14     jenkins-jobs {posargs:--help}
15
16 [testenv:jjb-version]
17 commands = python {toxinidir}/check_jjb_version.py
18
19 [testenv:pre-commit]
20 basepython = python3
21 deps = pre-commit
22 commands =
23     pre-commit install --hook-type commit-msg
24     pre-commit run --all-files --show-diff-on-failure
25     pre-commit run gitlint --hook-stage commit-msg --commit-msg-filename .git/COMMIT_EDITMSG
26
27 [testenv:prefix]
28 commands = python {toxinidir}/check_prefix.py
29
30 [testenv:robot]
31 basepython = python3
32 commands = python {toxinidir}/check_robot.py