Fix bashate job
Bashate relies on tox, so add the required files for tox. Change-Id: I86bcf54095d54666f45a3eb26f25a136ddd3319f
This commit is contained in:
parent
0603e69fe2
commit
aab91a6caa
5
.gitignore
vendored
5
.gitignore
vendored
@ -3,3 +3,8 @@ overlay*
|
||||
buildroot
|
||||
download
|
||||
*.qcow2
|
||||
.tox
|
||||
AUTHORS
|
||||
ChangeLog
|
||||
.eggs
|
||||
*.egg-info
|
||||
|
3
setup.py
Normal file
3
setup.py
Normal file
@ -0,0 +1,3 @@
|
||||
import setuptools
|
||||
|
||||
setuptools.setup(setup_requires=['pbr'], pbr=True)
|
12
tox.ini
Normal file
12
tox.ini
Normal file
@ -0,0 +1,12 @@
|
||||
[tox]
|
||||
envlist = py27, py33
|
||||
|
||||
[testenv]
|
||||
deps = {env:BASHATE_INSTALL_PATH:bashate==0.5.1}
|
||||
|
||||
[testenv:bashate]
|
||||
whitelist_externals = bash
|
||||
commands = bash -c "find {toxinidir} \
|
||||
-not \( -type d -name .?\* -prune \) \
|
||||
-type f -name \*.sh \
|
||||
-print0 | xargs -0 bashate -v -iE002,E003,E010,E011"
|
Loading…
Reference in New Issue
Block a user