Fix API breakage caused by OS Plugin version scan
[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
43
44 #########
45 # Tools #
46 #########
47
48 [testenv:jenkins-jobs]
49 deps =
50     jenkins-job-builder{env:JJB_VERSION_OP:~=}{env:JJB_VERSION:2.0.9}
51 commands =
52     jenkins-jobs {posargs:--help}
53
54 [testenv:lftools]
55 deps = lftools{env:LFTOOLS_VERSION_OP:~=}{env:LFTOOLS_VERSION:0.13.0}
56 commands = lftools {posargs:--help}
57
58 [testenv:openstack]
59 deps = python-openstackclient{env:OPENSTACK_VERSION_OP:~=}{env:OPENSTACK_VERSION:3.15.0}
60 commands = openstack {posargs:--help}
61
62 [testenv:reno]
63 deps = reno{env:RENO_VERSION_OP:~=}{env:RENO_VERSION:2.9.1}
64 commands = reno {posargs:--help}