Merge "REM security notice about PostBuildScript plugin"
[releng/global-jjb.git] / tox.ini
1 [tox]
2 minversion = 1.6
3 envlist = coala,jjb,jjb-compare-xml,license
4 skipsdist = true
5
6 [testenv:coala]
7 basepython = python3
8 deps =
9     coala
10     coala-bears
11     # Markdown lint requires nodejs
12     nodeenv==1.1.2
13 commands =
14     nodeenv -p
15     npm install --global remark-cli remark-lint write-good
16     python3 -m nltk.downloader punkt maxent_treebank_pos_tagger averaged_perceptron_tagger
17     coala --non-interactive
18
19 [testenv:docs]
20 deps = -rrequirements.txt
21 commands =
22     sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
23
24 [testenv:ensure-documented]
25 commands =
26     ./ensure-documented.sh
27
28 [testenv:jjb]
29 deps =
30     jenkins-job-builder>=2.0.5
31 commands =
32     jenkins-jobs -l DEBUG test --recursive -o {toxinidir}/archives/job-configs {toxinidir}/jjb:{toxinidir}/.jjb-test
33
34 [testenv:jjb-compare-xml]
35 deps =
36     jenkins-job-builder
37 commands =
38     ./jjb-compare-xml.sh
39
40 [testenv:license]
41 deps = lftools
42 commands = lftools license check-dir -r '.+' shell