ansible-role-borgbackup/tox.ini
Paul Belanger ecb92f2dfe Initial commit
First commit for borgbackup ansible role.

Change-Id: I6b07d5c89d0aba62d361dbe103969ce14d1047b7
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-02-07 15:03:24 -05:00

44 lines
823 B
INI

[tox]
minversion = 1.4.2
envlist = docs,linters
skipsdist = True
[testenv]
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:docs]
deps = -r{toxinidir}/doc/requirements.txt
whitelist_externals =
bash
commands=
bash -c "rm -rf doc/build"
doc8 doc
sphinx-build -b html doc/source doc/build/html
[testenv:testinfra]
commands =
pytest --junit-xml junit.xml --sudo --verbose molecule/tests
[testenv:venv]
commands = {posargs}
[flake8]
# E123, E125 skipped as they are invalid PEP-8.
show-source = True
ignore = E123,E125
builtins = _
exclude=.venv,.git,.tox,dist,doc,*egg,build
[testenv:linters]
commands =
molecule lint
[testenv:molecule]
sitepackages = True
setenv =
ANSIBLE_CALLBACK_PLUGINS = {envsitepackagesdir}/ara/plugins/callbacks
commands =
molecule test