forked from openstack-infra/project-config-example
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
44 lines (37 loc) · 764 Bytes
/
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
[tox]
minversion = 1.6
envlist = pep8,jjb,jenkins-project,zuul
skipsdist = True
[testenv]
deps = -r{toxinidir}/test-requirements.txt
[testenv:pep8]
commands =
flake8
{toxinidir}/tools/run-bashate.sh
[testenv:venv]
commands = {posargs}
[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]
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