Fix bashate job

* Added bashate to test-requirements.txt
* Make plugin.sh executable

Change-Id: I07f65262f79ddc35e2ed648f252c8817aa0ea888
This commit is contained in:
Sergey Reshetnyak 2015-10-01 09:19:31 +03:00
parent a81183305d
commit a82e7bd83b
3 changed files with 4 additions and 2 deletions

0
devstack/plugin.sh Normal file → Executable file
View File

1
test-requirements.txt Normal file
View File

@ -0,0 +1 @@
bashate>=0.2 # Apache-2.0

View File

@ -6,8 +6,9 @@ envlist = bashate
[testenv]
usedevelop = False
install_command = pip install {opts} {packages}
deps =
-r{toxinidir}/test-requirements.txt
[testenv:bashate]
deps = bashate
whitelist_externals = bash
commands = bash -c "find devstack -iname '*.sh' -print0 | xargs -0 bashate -v"
commands = bash -c "find devstack/* -print0 | xargs -0 bashate -v"