e1d121e194
The target is now part of the linters environment, so can be removed. Change-Id: I825560b0d83541c0ca1a970f5f9ae9e6a4aeff71 Depends-On: If398a3e0415b2a0ab7f05ce390c18d9b28a85927
45 lines
770 B
INI
45 lines
770 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = linters,jjb,jenkins-project,zuul
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:linters]
|
|
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
|