summaryrefslogtreecommitdiff
path: root/tox.ini
blob: cec9f604b83c17cbb48569cc4983d9dd1a426589 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[tox]
minversion = 1.6
envlist = linters,bashate
skipsdist = True

[testenv]
deps = -r{toxinidir}/test-requirements.txt

[testenv:linters]
commands =
    {toxinidir}/tools/yamllint.sh

[testenv:bashate]
whitelist_externals = bash
commands = bash -c "find {toxinidir} -type f -name '*.sh' -not -path '*/.tox/*' -print0 | xargs -0 bashate -v"

[testenv:venv]
commands = {posargs}