Update to lastest Ubuntu 16.04 images
[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 commands =
16     nodeenv -p
17     npm install --global write-good
18     python3 -m nltk.downloader punkt maxent_treebank_pos_tagger averaged_perceptron_tagger
19     coala --non-interactive
20
21 [testenv:docs]
22 deps = -rdocs/requirements.txt
23 commands = sphinx-build -b html -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
24
25 [testenv:jenkins-jobs]
26 deps =
27     jenkins-job-builder=={env:JJB_VERSION:2.9.1}
28 commands =
29     jenkins-jobs {posargs:--help}
30
31 [testenv:jjb-version]
32 commands = python {toxinidir}/check_jjb_version.py
33
34 [testenv:pep8]
35 deps = flake8
36 commands = flake8 scripts/ *.py
37
38 [testenv:prefix]
39 commands = python {toxinidir}/check_prefix.py
40
41 [testenv:robot]
42 basepython = python3
43 commands = python {toxinidir}/check_robot.py