Select Git revision
-
nimrod authored
- Correct assertion for Ansible 2.3.0.0 (ansible_distribution_release and ansible_distribution_version were reversed for OpenBSD prior to that version).
nimrod authored- Correct assertion for Ansible 2.3.0.0 (ansible_distribution_release and ansible_distribution_version were reversed for OpenBSD prior to that version).
tox.ini 725 B
[tox]
skip_install = True
skipsdist = True
envlist = openbsd60,xenial,trusty,precise,stretch,jessie,wheezy
[testenv]
envdir = {toxinidir}/.tox
deps = -rtests/requirements.txt
passenv = HOME VBOX* ANSIBLE_*
whitelist_externals =
sh
commands =
sh -c "ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) -p .molecule/roles"
molecule test --platform {envname}
[testenv:pre-commit]
envdir = {toxinidir}/.tox
deps =
-rtests/requirements.txt
pre-commit
passenv = HOME VBOX* ANSIBLE_*
whitelist_externals =
sh
commands =
sh -c "ansible-galaxy install git+file://$(pwd),$(git rev-parse --abbrev-ref HEAD) -p .molecule/roles"
molecule dependency
pre-commit run --all-files