Skip to content

Commit 6f28e11

Browse files
committed
tests: Add Tox environments for debian 10, 11; centos 8; ubuntu
1 parent ac7505d commit 6f28e11

File tree

1 file changed

+44
-12
lines changed

1 file changed

+44
-12
lines changed

tox.ini

Lines changed: 44 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,29 @@
99

1010
# Last version to support each python version
1111
#
12-
# tox vir'env pip ansible coverage
13-
# ========== ======== ======== ======== ======== ========
14-
# python2.4 1.4 1.8 1.1 ???
12+
# tox vir'env pip ansible ansible coverage
13+
# control target
14+
# ========== ======== ======== ======== ======== ======== ========
15+
# python2.4 1.4 1.8 1.1 2.3?
1516
# python2.5 1.6.1 1.9.1 1.3.1 ???
16-
# python2.6 2.9.1 15.2.0 9.0.3 2.6.20 4.5.4
17+
# python2.6 2.9.1 15.2.0 9.0.3 2.6.20 4.5.4
18+
# python2.7 20.3 2.10
19+
# python3.5 2.10
20+
# python3.6 2.10
21+
# python3.7 2.10
22+
23+
# pip --no-python-version-warning
24+
# pip --disable-pip-version-check
1725

1826
[tox]
1927
envlist =
2028
init,
21-
py{27,36,39}-mode_ansible-ansible2.10,
22-
py{27,36,39}-mode_mitogen,
23-
py{27,36,39}-mode_mitogen-distro_centos7,
29+
py{27,35,39}-mode_ansible-distros_centos,
30+
py{27,35,39}-mode_ansible-distros_debian,
31+
py{27,35,39}-mode_ansible-distros_ubuntu,
32+
py{27,35,39}-mode_mitogen-distro_centos{6,7,8},
33+
py{27,35,39}-mode_mitogen-distro_debian{9,10,11},
34+
py{27,35,39}-mode_mitogen-distro_ubuntu{1604,1804,2004},
2435
report,
2536
requires =
2637
tox-factor
@@ -29,24 +40,29 @@ requires =
2940
basepython =
3041
py26: python2.6
3142
py27: python2.7
43+
py35: python3.5
3244
py36: python3.6
3345
py37: python3.7
3446
py38: python3.8
3547
py39: python3.9
48+
install_command =
49+
python -m pip --no-python-version-warning install {opts} {packages}
3650
commands_pre =
3751
mode_ansible: {toxinidir}/.ci/ansible_install.py
3852
mode_debops_common: {toxinidir}/.ci/debops_common_install.py
3953
mode_mitogen: {toxinidir}/.ci/mitogen_install.py
4054
commands =
41-
mode_ansible: {toxinidir}/.ci/ansible_tests.py \
42-
--skip-tags requires_local_sudo
55+
mode_ansible: {toxinidir}/.ci/ansible_tests.py
4356
mode_debops_common: {toxinidir}/.ci/debops_common_tests.py
4457
mode_mitogen: {toxinidir}/.ci/mitogen_tests.py
4558
passenv =
59+
ANSIBLE_*
4660
HOME
4761
setenv =
62+
ANSIBLE_SKIP_TAGS = requires_local_sudo
4863
NOCOVERAGE_ERASE = 1
4964
NOCOVERAGE_REPORT = 1
65+
VER=2.10.5
5066
ansible2.3: VER=2.3.3.0
5167
ansible2.4: VER=2.4.6.0
5268
ansible2.8: VER=2.8.3
@@ -55,10 +71,26 @@ setenv =
5571
distro_centos5: DISTRO=centos5
5672
distro_centos6: DISTRO=centos6
5773
distro_centos7: DISTRO=centos7
58-
distro_debian: DISTRO=debian
59-
distro_debianpy3: DISTRO=debian-py3
74+
distro_centos8: DISTRO=centos8
75+
distro_debian9: DISTRO=debian9
76+
distro_debian10: DISTRO=debian10
77+
distro_debian11: DISTRO=debian11
78+
distro_ubuntu1604: DISTRO=ubuntu1604
79+
distro_ubuntu1804: DISTRO=ubuntu1804
80+
distro_ubuntu2004: DISTRO=ubuntu2004
81+
distros_centos: DISTROS=centos6 centos7 centos8
6082
distros_centos5: DISTROS=centos5
61-
distros_debian: DISTROS=debian
83+
distros_centos6: DISTROS=centos6
84+
distros_centos7: DISTROS=centos7
85+
distros_centos8: DISTROS=centos8
86+
distros_debian: DISTROS=debian9 debian10 debian11
87+
distros_debian9: DISTROS=debian9
88+
distros_debian10: DISTROS=debian10
89+
distros_debian11: DISTROS=debian11
90+
distros_ubuntu: DISTROS=ubuntu1604 ubuntu1804 ubuntu2004
91+
distros_ubuntu1604: DISTROS=ubuntu1604
92+
distros_ubuntu1804: DISTROS=ubuntu1804
93+
distros_ubuntu2004: DISTROS=ubuntu2004
6294
mode_ansible: MODE=ansible
6395
mode_debops_common: MODE=debops_common
6496
mode_mitogen: MODE=mitogen

0 commit comments

Comments
 (0)