997f239a9d
This does not perform all of the same tests as the check job for this repo, but it does make it easy to run basic jenkins-job-builder tests. Change-Id: I1a52deb2258801fa1863e7c57108de2ecaac324f
34 lines
701 B
INI
34 lines
701 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = pep8
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
install_command = pip install {opts} {packages}
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:irc]
|
|
deps = PyYAML
|
|
irc
|
|
commands = python modules/accessbot/files/checkaccess.py -l modules/openstack_project/files/accessbot/channels.yaml openstackinfra
|
|
|
|
[flake8]
|
|
show-source = True
|
|
exclude = .tox
|
|
ignore = E125,H
|
|
|
|
[testenv:jjb]
|
|
basepython = python2.7
|
|
deps = jenkins-job-builder
|
|
commands =
|
|
rm -rf {envdir}/tmp
|
|
mkdir -p {envdir}/tmp
|
|
jenkins-jobs -l debug test -o {envdir}/tmp modules/openstack_project/files/jenkins_job_builder/config
|