Add tox.ini configuration to run bashate tests

This commit implements a simple tox.ini configuration to run bashate
style checker against all files in the ocf directory.

Partial-Bug: #1508559
Change-Id: I34b3fc108a86d902d0d856f632b5221e14f1f118
Signed-off-by: Norbert Illes <norbert.e.illes@ericsson.com>
This commit is contained in:
Norbert Illes 2016-02-22 15:38:25 +01:00
parent 25c306755f
commit e7672a0aa9

11
tox.ini Normal file
View File

@ -0,0 +1,11 @@
[tox]
envlist = bashate
skipsdist = True
[testenv]
whitelist_externals = bash
[testenv:bashate]
deps = bashate
commands = bash -c "bashate --verbose {toxinidir}/ocf/*"