Merge "Move coe Sonar scan to Sonarcloud"
[releng/builder.git] / tox.ini
1 [tox]
2 minversion = 1.6
3 envlist = coala,docs,jjb-version,pre-commit,prefix,robot
4 skipsdist = true
5
6 [testenv:coala]
7 basepython = python3
8 deps =
9     coala==0.11
10     coala-bears==0.11
11     nodeenv
12 commands =
13     nodeenv -p
14     npm install --global write-good
15     coala --non-interactive
16
17 [testenv:docs]
18 deps = -rdocs/requirements.txt
19 commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
20
21 [testenv:jenkins-jobs]
22 deps =
23     jenkins-job-builder=={env:JJB_VERSION:3.5.0}
24 commands =
25     jenkins-jobs {posargs:--help}
26
27 [testenv:jjb-version]
28 commands = python {toxinidir}/check_jjb_version.py
29
30 [testenv:pre-commit]
31 basepython = python3
32 deps = pre-commit
33 commands =
34     pre-commit install --hook-type commit-msg
35     pre-commit run --all-files --show-diff-on-failure
36     pre-commit run gitlint --hook-stage commit-msg --commit-msg-filename .git/COMMIT_EDITMSG
37
38 [testenv:prefix]
39 commands = python {toxinidir}/check_prefix.py
40
41 [testenv:robot]
42 basepython = python3
43 commands = python {toxinidir}/check_robot.py