Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
Support Ansible 2.9, 2.8, 2.7
Browse files Browse the repository at this point in the history
Adopts newer testing matrix as Ansible 2.9 release is imminent.
  • Loading branch information
ssbarnea committed Sep 17, 2019
1 parent 450b839 commit dac933c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
24 changes: 12 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ jobs:
env:
- TOXENV=devel

- <<: *py-37
env:
- TOXENV=ansible29
name: py37-ansible29

- <<: *py-37
env:
- TOXENV=ansible28
Expand All @@ -70,10 +75,11 @@ jobs:
- TOXENV=ansible27
name: py37-ansible27

- <<: *py-37
- <<: *py-36
<<: *if-cron-or-manual-run-or-tagged
env:
- TOXENV=ansible26
name: py37-ansible26
- TOXENV=ansible29
name: py36-ansible29

- <<: *py-36
<<: *if-cron-or-manual-run-or-tagged
Expand All @@ -87,11 +93,10 @@ jobs:
- TOXENV=ansible27
name: py36-ansible27

- <<: *py-36
<<: *if-cron-or-manual-run-or-tagged
- <<: *py-27
env:
- TOXENV=ansible26
name: py36-ansible26
- TOXENV=ansible29
name: py27-ansible29

- <<: *py-27
env:
Expand All @@ -103,11 +108,6 @@ jobs:
- TOXENV=ansible27
name: py27-ansible27

- <<: *py-27
env:
- TOXENV=ansible26
name: py27-ansible26

- &deploy-job
<<: *py-37
<<: *reset-prerequisites
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ minversion = 3.9.0
envlist =
lint
check
py{27,35,36,37}-ansible{26,27,28}
py{27,35,36,37}-ansible{27,28,29}
doc
devel
skipdist = True
Expand All @@ -22,10 +22,10 @@ setenv =
ANSIBLE_CALLABLE_WHITELIST={env:ANSIBLE_CALLABLE_WHITELIST:timer,profile_roles}
PYTHONDONTWRITEBYTECODE=1
deps =
ansible26: ansible>=2.6,<2.7
ansible27: ansible>=2.7,<2.8
ansible28: ansible>=2.8,<2.9
devel: ansible>=2.8
ansible29: ansible>=2.9.0b1,<2.10
devel: ansible>=2.9.0b1
devel: docker
extras =
test
Expand Down

0 comments on commit dac933c

Please sign in to comment.