Merge "Add gre type driver for dc-gw and tdd cases"
[releng/builder.git] / tox.ini
1 [tox]
2 minversion = 1.6
3 envlist = coala,docs,jjb-version,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     pygments~=2.3.1
12     # Requests 2.16 breaks dependencies
13     requests<2.16
14     nodeenv==1.1.2
15     numpy
16 commands =
17     nodeenv -p
18     npm install --global write-good
19     python3 -m nltk.downloader punkt maxent_treebank_pos_tagger averaged_perceptron_tagger
20     coala --non-interactive
21
22 [testenv:docs]
23 deps = -rdocs/requirements.txt
24 commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
25
26 [testenv:jenkins-jobs]
27 deps =
28     jenkins-job-builder=={env:JJB_VERSION:2.9.1}
29 commands =
30     jenkins-jobs {posargs:--help}
31
32 [testenv:jjb-version]
33 commands = python {toxinidir}/check_jjb_version.py
34
35 [testenv:pep8]
36 deps = flake8
37 commands = flake8 scripts/ *.py
38
39 [testenv:prefix]
40 commands = python {toxinidir}/check_prefix.py
41
42 [testenv:robot]
43 basepython = python3
44 commands = python {toxinidir}/check_robot.py