Merge "add tox to the tree for doing bashate checking"

This commit is contained in:
Jenkins
2014-08-06 13:18:46 +00:00
committed by Gerrit Code Review
2 changed files with 14 additions and 0 deletions

1
test-requirements.txt Normal file
View File

@@ -0,0 +1 @@
bashate>=0.2

13
tox.ini Normal file
View File

@@ -0,0 +1,13 @@
[tox]
envlist = bashate
minversion = 1.6
skipsdist = True
[testenv]
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
[testenv:bashate]
commands =
bash -c "ls *.sh | xargs bashate -v {posargs}"