2018-12-19 10:19:07 +00:00
|
|
|
[tox]
|
2019-03-22 09:29:06 +00:00
|
|
|
minversion = 3.7.0
|
|
|
|
envlist =
|
|
|
|
py{27,35,36,37}-ansible{25,26,27,devel}
|
|
|
|
|
2019-01-28 21:47:57 +00:00
|
|
|
isolated_build = True
|
2018-12-19 10:19:07 +00:00
|
|
|
|
|
|
|
[testenv]
|
2019-03-22 09:29:06 +00:00
|
|
|
usedevelop = True
|
|
|
|
passenv = PY_COLORS
|
2019-03-25 09:30:51 +00:00
|
|
|
setenv = COVERAGE_FILE={envdir}/.coverage
|
2018-12-19 10:19:07 +00:00
|
|
|
deps =
|
2019-03-22 09:29:06 +00:00
|
|
|
-rtest-requirements.txt
|
2018-12-19 10:19:07 +00:00
|
|
|
ansible25: ansible>=2.5,<2.6
|
|
|
|
ansible26: ansible>=2.6,<2.7
|
|
|
|
ansible27: ansible>=2.7,<2.8
|
2019-03-22 09:29:06 +00:00
|
|
|
ansibledevel: git+https://github.com/ansible/ansible.git
|
|
|
|
commands =
|
|
|
|
ansible-later --help
|
2019-04-11 12:24:50 +00:00
|
|
|
pytest ansiblelater/tests/ --cov={toxinidir}/ansiblelater/ --no-cov-on-fail
|