Move bashate check to linters env

Change-Id: I749b02019bc3831f549292aa53720ce3803702ba
This commit is contained in:
Sergey Reshetnyak 2016-09-07 00:04:16 +03:00
parent bd2847ddd5
commit d2a8090c1a
3 changed files with 4 additions and 6 deletions

View File

@ -7,4 +7,4 @@ tox -e docs
ls -al doc/build/html/
echo "** Uploading HTML docs to the server:"
rsync -v -r --delete -e ssh doc/build/html docs-publisher@docs.ng.mirantis.net:~/
rsync -v -r --delete -e ssh doc/build/html docs-publisher@docs.ng.mirantis.net:~/

View File

@ -1 +1,2 @@
bashate>=0.2
yamllint

View File

@ -10,13 +10,10 @@ deps =
usedevelop = False
[testenv:linters]
deps = yamllint
commands =
{toxinidir}/tools/run-check-yaml-syntax.sh
[testenv:bashate]
whitelist_externals = bash
commands = bash -c "find {toxinidir} -type f -name '*.sh' -not -path '*/.tox/*' -print0 | xargs -0 bashate -v -iE006"
# bashate check
bash -c "find {toxinidir} -type f -name '*.sh' -not -path '*/.tox/*' -print0 | xargs -0 bashate -v -iE006"
[testenv:venv]
commands = {posargs}