-
Notifications
You must be signed in to change notification settings - Fork 4
/
tox.ini
30 lines (29 loc) · 906 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[tox]
envlist =
ansible{28,29,210}-{centos6,centos7,centos8,ubuntu16,ubuntu18,ubuntu20}
skipsdist = true
[testenv]
commands =
ansible --version
ansible-playbook -i tests/inventory -l {env:ANSIBLE_LIMIT} -vv tests/main.yml
basepython =
ansible28: python3.7
ansible29: python3.8
ansible210: python3.8
deps =
ansible28: ansible~=2.8.0
ansible29: ansible~=2.9.0
ansible210: ansible~=2.10.0
docker
setenv =
centos6: ANSIBLE_LIMIT=centos6,postgres
centos7: ANSIBLE_LIMIT=centos7,postgres
centos8: ANSIBLE_LIMIT=centos8,postgres
ubuntu16: ANSIBLE_LIMIT=ubuntu16,postgres
ubuntu18: ANSIBLE_LIMIT=ubuntu18,postgres
ubuntu20: ANSIBLE_LIMIT=ubuntu20,postgres
ansible210: ANSIBLE_ACTION_PLUGINS=tests/action_plugins_210
PYTHONDONTWRITEBYTECODE=1
ANSIBLE_FORCE_COLOR=1
ANSIBLE_CONFIG=tests/ansible.cfg
passenv = DOCKER_* HOME USER CFLAGS