Skip to content

Commit

Permalink
Correct in tox to test 3 versions of ansible.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdebock committed Nov 7, 2019
1 parent 2811657 commit 32db1b5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ matrix:
- env: image="alpine" tag="edge"
- env: image="debian" tag="unstable"
- env: image="fedora" tag="rawhide"
- env: image="ubuntu" tag="rolling"
- env: image="ubuntu" tag="devel"

cache:
- pip
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,10 @@ This role has been tested on these [container images](https://hub.docker.com/):

This role has been tested on these Ansible versions:

- ansible~=2.8
- ansible~=2.9
- ansible>=2.8, <2.9
- ansible>=2.9
- git+https://github.com/ansible/ansible.git@devel

The indicator '\~=' means [compatible with](https://www.python.org/dev/peps/pep-0440/#compatible-release). For example 'ansible\~=2.8' would pick the latest ansible-2.8, for example ansible-2.8.6.


Included version(s)
-------------------
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ skipsdist = true

[testenv]
deps =
previous: ansible~=2.8
current: ansible~=2.9
previous: ansible>=2.8, <2.9
current: ansible>=2.9
next: git+https://github.com/ansible/ansible.git@devel
docker
molecule
commands =
molecule test
setenv =
TOX_ENVNAME={envname}
MOLECULE_EPHEMERAL_DIRECTORY=/tmp/{envname}
MOLECULE_EPHEMERAL_DIRECTORY={toxinidir}/.tox/{envname}
passenv = namespace image tag

0 comments on commit 32db1b5

Please sign in to comment.