Fix bashate job
* Added bashate to test-requirements.txt * Make plugin.sh executable Change-Id: I07f65262f79ddc35e2ed648f252c8817aa0ea888
This commit is contained in:
parent
a81183305d
commit
a82e7bd83b
|
@ -0,0 +1 @@
|
||||||
|
bashate>=0.2 # Apache-2.0
|
5
tox.ini
5
tox.ini
|
@ -6,8 +6,9 @@ envlist = bashate
|
||||||
[testenv]
|
[testenv]
|
||||||
usedevelop = False
|
usedevelop = False
|
||||||
install_command = pip install {opts} {packages}
|
install_command = pip install {opts} {packages}
|
||||||
|
deps =
|
||||||
|
-r{toxinidir}/test-requirements.txt
|
||||||
|
|
||||||
[testenv:bashate]
|
[testenv:bashate]
|
||||||
deps = bashate
|
|
||||||
whitelist_externals = bash
|
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"
|
||||||
|
|
Loading…
Reference in New Issue