037158d760
Python 2.7 will reach the end of its life on January 1st, 2020. Since it won't be maintained after that date, there is no need for this tox environment. Change-Id: I24bd15537db2ac48d6e27ade19c5edf83034f5e6
18 lines
656 B
INI
18 lines
656 B
INI
[tox]
|
|
envlist = py3
|
|
|
|
[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 \) \
|
|
-not \( -type d -name output-\* -prune \) \
|
|
-not \( -type d -name overlay-\* -prune \) \
|
|
-not \( -type d -name buildroot -prune \) \
|
|
-not \( -type d -name download -prune \) \
|
|
-type f -name \*.sh -print0 ; \
|
|
find {toxinidir}/common-files/etc/init.d \
|
|
-type f -print0) | xargs -0 bashate -v"
|