Merge "Update cloud image list docs"
[releng/builder.git] / tox.ini
1 [tox]
2 minversion = 1.6
3 envlist = coala,docs,pep8,prefix,robot
4 skipsdist = true
5
6 [testenv:coala]
7 basepython = python3
8 deps =
9     coala==0.11
10     coala-bears==0.11
11     # Requests 2.16 breaks dependencies
12     requests<2.16
13     nodeenv==1.1.2
14 commands =
15     nodeenv -p
16     npm install --global write-good
17     python3 -m nltk.downloader punkt maxent_treebank_pos_tagger averaged_perceptron_tagger
18     coala --non-interactive
19
20 [testenv:docs]
21 deps = -rdocs/requirements.txt
22 commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
23
24 [testenv:jenkins-jobs]
25 deps =
26     jenkins-job-builder=={env:JJB_VERSION:2.2.1}
27 commands =
28     jenkins-jobs {posargs:--help}
29
30 [testenv:jjb-version]
31 commands = python {toxinidir}/check_jjb_version.py
32
33 [testenv:pep8]
34 deps = flake8
35 commands = flake8 scripts/ *.py
36
37 [testenv:prefix]
38 commands = python {toxinidir}/check_prefix.py
39
40 [testenv:robot]
41 basepython = python3
42 commands = python {toxinidir}/check_robot.py