Monty Taylor e4adf8fbcf Use console_scripts entrypoint.
Since the project uses entrypoints so heavily - move the jenkins-jobs script
to be contained within the project and have entrypoints generate the script.

Change-Id: Ie9541163c8677de1b05576491c8e9e63d3bd25fc
Reviewed-on: https://review.openstack.org/15816
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2012-11-19 19:49:32 +00:00

27 lines
575 B
INI

[tox]
envlist = pep8, pyflakes
[tox:jenkins]
downloadcache = ~/cache/pip
[testenv]
deps = -r{toxinidir}/tools/pip-requires
-r{toxinidir}/tools/test-requires
[testenv:pep8]
deps = pep8==1.2
commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,build .
[testenv:pyflakes]
deps = pyflakes
commands = pyflakes jenkins_jobs setup.py
[testenv:compare-xml-old]
commands = jenkins-jobs test -o .test/old/out/ .test/old/config/
[testenv:compare-xml-new]
commands = jenkins-jobs test -o .test/new/out/ .test/new/config/
[testenv:venv]
commands = {posargs}