diff options
Diffstat (limited to 'testenv')
-rw-r--r-- | testenv/Dockerfile | 1 | ||||
-rw-r--r-- | testenv/tox.ini | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/testenv/Dockerfile b/testenv/Dockerfile index 36d0fb3a..874f84a0 100644 --- a/testenv/Dockerfile +++ b/testenv/Dockerfile @@ -60,6 +60,7 @@ RUN pacman --noconfirm --ask=4 -Syy \ socat \ eslint \ npm \ + shellcheck \ && (pacman -Sc --noconfirm || true) \ && rm -rf /var/cache/pacman/pkg/* diff --git a/testenv/tox.ini b/testenv/tox.ini index e0eb0d53..2e904e0e 100644 --- a/testenv/tox.ini +++ b/testenv/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = flake8, pylint, mypy, vulture, pytest, eslint, htmlhint +envlist = flake8, pylint, mypy, vulture, pytest, eslint, htmlhint, shellcheck skipsdist = true [testenv] @@ -60,3 +60,7 @@ commands = eslint --cache-location=/tmp --config=testenv/linters/eslintrc.yaml - [testenv:htmlhint] whitelist_externals = htmlhint commands = htmlhint --config=testenv/linters/htmlhint.json web/*.html web/*/*.html + +[testenv:shellcheck] +whitelist_externals = bash +commands = bash -c 'shellcheck --color=always scripts/*' |