Peter Razumovsky 94d3facf4f Add linter and bashate tox checks
For correct job succeed need to add tox
checkers.

Change-Id: Ic9e74e3461928efc2f7ffed5be17372ed5add554
2017-02-09 15:45:10 +04:00

18 lines
360 B
INI

[tox]
minversion = 1.6
envlist = linters,bashate
skipsdist = True
[testenv:venv]
commands = {posargs}
[testenv:linters]
deps = yamllint
commands =
{toxinidir}/tools/yamllint.sh
[testenv:bashate]
deps = bashate>=0.2
whitelist_externals = bash
commands = bash -c "find {toxinidir} -type f -name '*.sh' -not -path '*/.tox/*' -print0 | xargs -0 bashate -v"