Merge "Use tox for bashate testing"

This commit is contained in:
Jenkins
2014-08-23 08:24:57 +00:00
committed by Gerrit Code Review
2 changed files with 14 additions and 0 deletions

1
.gitignore vendored
View File

@@ -5,6 +5,7 @@
*.pem
.localrc.auto
.prereqs
.tox
.stackenv
accrc
docs/files

13
tox.ini Normal file
View File

@@ -0,0 +1,13 @@
[tox]
minversion = 1.6
skipsdist = True
envlist = bashate
[testenv]
usedevelop = False
install_command = pip install {opts} {packages}
[testenv:bashate]
deps = bashate
whitelist_externals = bash
commands = bash -c "find {toxinidir} -not -wholename \*.tox/\* -and \( -name \*.sh -or -name \*rc -or -name functions\* -or \( -wholename lib/\* -and -not -name \*.md \) \) -print0 | xargs -0 bashate -v"