Merge "Rename sonar-cli.sh to nexus-iq-cli.sh"
[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     echo "Generated docs available in {toxinidir}/docs/_build/html"
24 whitelist_externals = echo
25
26 [testenv:ensure-documented]
27 commands =
28     ./ensure-documented.sh
29
30 [testenv:jjb]
31 deps =
32     jenkins-job-builder>=2.0.5
33 commands =
34     jenkins-jobs -l DEBUG test --recursive -o {toxinidir}/archives/job-configs {toxinidir}/jjb:{toxinidir}/.jjb-test
35
36 [testenv:jjb-compare-xml]
37 deps =
38     jenkins-job-builder
39 commands =
40     ./jjb-compare-xml.sh
41
42 [testenv:license]
43 deps = lftools
44 commands = lftools license check-dir -r '.+' shell