Skip to content

Commit 50d4158

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Use tox for bashate testing"
2 parents 8dc661c + 0c256ab commit 50d4158

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*.pem
66
.localrc.auto
77
.prereqs
8+
.tox
89
.stackenv
910
accrc
1011
docs/files

tox.ini

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[tox]
2+
minversion = 1.6
3+
skipsdist = True
4+
envlist = bashate
5+
6+
[testenv]
7+
usedevelop = False
8+
install_command = pip install {opts} {packages}
9+
10+
[testenv:bashate]
11+
deps = bashate
12+
whitelist_externals = bash
13+
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"

0 commit comments

Comments
 (0)