2016-12-21 17:15:42 -05:00
|
|
|
[tox]
|
|
|
|
|
minversion=2.3.1
|
|
|
|
|
envlist =
|
2019-03-08 08:54:36 -05:00
|
|
|
py{27,35}-{flake8,pylint}
|
|
|
|
|
py27-{yamllint,ansible_syntax}
|
2016-12-21 17:15:42 -05:00
|
|
|
skipsdist=True
|
|
|
|
|
skip_missing_interpreters=True
|
|
|
|
|
|
|
|
|
|
[testenv]
|
2017-03-06 12:39:20 -05:00
|
|
|
skip_install=True
|
2019-05-23 13:28:54 -04:00
|
|
|
setenv =
|
|
|
|
|
ANSIBLE_INVENTORY = {toxinidir}/test/tox-inventory.txt
|
|
|
|
|
ANSIBLE_LOG_PATH=/tmp/tox/ansible/ansible.log
|
|
|
|
|
ANSIBLE_LOCAL_TEMP=/tmp/tox/ansible
|
|
|
|
|
ANSIBLE_CACHE_PLUGIN_CONNECTION=/tmp/tox/ansible/facts
|
|
|
|
|
|
2016-12-21 17:15:42 -05:00
|
|
|
deps =
|
2017-03-06 12:39:20 -05:00
|
|
|
-rrequirements.txt
|
2016-12-21 17:15:42 -05:00
|
|
|
-rtest-requirements.txt
|
2017-04-13 13:36:14 -04:00
|
|
|
py35-flake8: flake8-bugbear==17.3.0
|
2016-11-04 18:30:34 +01:00
|
|
|
|
2016-12-21 17:15:42 -05:00
|
|
|
commands =
|
2017-02-19 22:43:56 +01:00
|
|
|
flake8: flake8 {posargs}
|
2016-12-21 17:15:42 -05:00
|
|
|
pylint: python setup.py lint
|
|
|
|
|
yamllint: python setup.py yamllint
|
2017-04-17 13:30:21 -04:00
|
|
|
ansible_syntax: python setup.py ansible_syntax
|