Move bash8 to run under pep8 tox env

To make sure we catch bash8 violations, run under the check and
gate pep8 checks. We do not run a distinct bash8 job for Keystone.

Change-Id: I07ddf419483ad4ab73d9f34568fca0df3d9ca248
This commit is contained in:
Morgan Fainberg 2014-06-28 00:23:39 -07:00
parent 7ca30d2afc
commit 798dfeadb0
1 changed files with 3 additions and 5 deletions

View File

@ -33,6 +33,9 @@ commands =
envdir = {toxworkdir}/venv
commands =
flake8 {posargs}
# Run bash8 during pep8 runs to ensure violations are caught by
# the check and gate queues
bash8 examples/pki/gen_pki.sh tools/debug_helper.sh
# Check that .po and .pot files are valid.
# NOTE(jaegerandi): We search for files ending with '.po' or '.pot'.
# The regex '.*\.pot?' does not work on OS X and we assume there are no
@ -40,11 +43,6 @@ commands =
bash -c "find keystone -type f -regex '.*\.pot*' -print0| \
xargs -0 -n 1 msgfmt --check-format -o /dev/null"
[testenv:bash8]
envdir = {toxworkdir}/venv
commands =
bash8 examples/pki/gen_pki.sh tools/debug_helper.sh
[tox:jenkins]
downloadcache = ~/cache/pip