Browse code

Merge "Use tox for bashate testing"

Jenkins authored on 2014/08/23 17:24:57
Showing 2 changed files
... ...
@@ -5,6 +5,7 @@
5 5
 *.pem
6 6
 .localrc.auto
7 7
 .prereqs
8
+.tox
8 9
 .stackenv
9 10
 accrc
10 11
 docs/files
11 12
new file mode 100644
... ...
@@ -0,0 +1,13 @@
0
+[tox]
1
+minversion = 1.6
2
+skipsdist = True
3
+envlist = bashate
4
+
5
+[testenv]
6
+usedevelop = False
7
+install_command = pip install {opts} {packages}
8
+
9
+[testenv:bashate]
10
+deps = bashate
11
+whitelist_externals = bash
12
+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"