Christian Berendt 02a4c88375 Make Jenkins jobs workable
Change-Id: I0e90aca845b51a270d171dcbc9716891c77efae9
2014-12-10 18:26:50 +01:00

32 lines
691 B
INI

[tox]
minversion = 1.6
envlist = docs,lint
skipsdist = True
[testenv]
usedevelop = False
deps = -r{toxinidir}/test-requirements.txt
install_command = pip install {opts} {packages}
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
[testenv:lint]
whitelist_externals = bash
commands =
ansible-playbook --syntax-check -i tests/hosts.test playbook.yaml
bash -c "find {toxinidir} \
\( -wholename \*/files/\*.sh -or \
-wholename \*/scripts/\*.sh \) -print0 | \
xargs -0 bashate -v"
doc8 -e rst doc README.rst
flake8
python scripts/check_yaml_syntax.py config.yaml.sample
[flake8]
show-source = True
exclude=.venv,.git,.tox,*egg*