-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
72 lines (59 loc) · 1.43 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[tox]
minversion = 1.6
envlist = pep8,gerrit,projects,jjb,jenkins-project,zuul
skipsdist = True
[testenv]
deps = -r{toxinidir}/test-requirements.txt
[testenv:pep8]
commands = flake8
[testenv:gerrit]
commands =
{toxinidir}/tools/check_valid_gerrit_config.sh gerrit/acls/
[testenv:projects]
deps = PyYAML
commands =
{toxinidir}/tools/check_valid_gerrit_projects.py gerrit/projects.yaml
{toxinidir}/tools/check_projects_yaml_alphabetized.sh gerrit/projects.yaml
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
[testenv:irc]
deps = PyYAML
irc
commands =
# {toxinidir}/tools/check_irc_access.py -l accessbot/channels.yaml openswitchinfra
{toxinidir}/tools/irc_tests.py
[flake8]
show-source = True
exclude = .tox,.test
ignore = E125,H
select = H231
[testenv:jjb]
basepython = python2.7
deps = jenkins-job-builder
whitelist_externals =
mkdir
rm
commands =
rm -rf {envdir}/tmp
mkdir -p {envdir}/tmp
jenkins-jobs -l debug test -o {envdir}/tmp jenkins/jobs
[testenv:jenkins-project]
basepython = python2.7
deps =
commands =
{toxinidir}/tools/jenkins-projects-checks.py
[testenv:zuul]
basepython = python2.7
deps = PyYAML
commands =
{toxinidir}/tools/run-layout.sh
{toxinidir}/tools/layout-checks.py
[testenv:bashate]
commands = {toxinidir}/tools/run-bashate.sh
[testenv:specs]
deps =
Jinja2
PyYAML
commands = {toxinidir}/specs/generate_specs_site.py {toxinidir}/specs/specs.yaml