Merge "add tox to the tree for doing bashate checking"
This commit is contained in:
1
test-requirements.txt
Normal file
1
test-requirements.txt
Normal file
@@ -0,0 +1 @@
|
||||
bashate>=0.2
|
||||
13
tox.ini
Normal file
13
tox.ini
Normal 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}"
|
||||
Reference in New Issue
Block a user