1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_versioncheck.git synced 2024-08-16 15:59:49 +02:00

Improve travis testing on many operation systems

This commit is contained in:
L3D 2020-01-15 23:21:19 +01:00
parent 91fcd6c104
commit 27a24ce78f
Signed by: l3d
GPG key ID: CD08445BFF4313D1
2 changed files with 55 additions and 47 deletions

View file

@ -21,54 +21,54 @@ install:
- pip install tox-travis - pip install tox-travis
env: env:
jobs: jobs:
# - TOX_DISTRO=alpinelatest TOX_ANSIBLE=latest - TOX_DISTRO=alpinelatest TOX_ANSIBLE=latest
# - TOX_DISTRO=alpine310 TOX_ANSIBLE=latest - TOX_DISTRO=alpine310 TOX_ANSIBLE=latest
# - TOX_DISTRO=alpine39 TOX_ANSIBLE=latest - TOX_DISTRO=alpine39 TOX_ANSIBLE=latest
# - TOX_DISTRO=centoslatest TOX_ANSIBLE=latest - TOX_DISTRO=centoslatest TOX_ANSIBLE=latest
# - TOX_DISTRO=centos8 TOX_ANSIBLE=latest - TOX_DISTRO=centos8 TOX_ANSIBLE=latest
# - TOX_DISTRO=centos7 TOX_ANSIBLE=latest - TOX_DISTRO=centos7 TOX_ANSIBLE=latest
# - TOX_DISTRO=clearlinuxlatest TOX_ANSIBLE=latest - TOX_DISTRO=clearlinuxlatest TOX_ANSIBLE=latest
# - TOX_DISTRO=debianlatest TOX_ANSIBLE=latest - TOX_DISTRO=debianlatest TOX_ANSIBLE=latest
# - TOX_DISTRO=debianstable TOX_ANSIBLE=latest - TOX_DISTRO=debianstable TOX_ANSIBLE=latest
- TOX_DISTRO=debian10 TOX_ANSIBLE=latest - TOX_DISTRO=debian10 TOX_ANSIBLE=latest
# - TOX_DISTRO=debian9 TOX_ANSIBLE=latest - TOX_DISTRO=debian9 TOX_ANSIBLE=latest
# - TOX_DISTRO=debian8 TOX_ANSIBLE=latest - TOX_DISTRO=debian8 TOX_ANSIBLE=latest
# - TOX_DISTRO=fedoralatest TOX_ANSIBLE=latest - TOX_DISTRO=fedoralatest TOX_ANSIBLE=latest
# - TOX_DISTRO=fedora31 TOX_ANSIBLE=latest - TOX_DISTRO=fedora31 TOX_ANSIBLE=latest
# - TOX_DISTRO=fedora30 TOX_ANSIBLE=latest - TOX_DISTRO=fedora30 TOX_ANSIBLE=latest
# - TOX_DISTRO=fedora29 TOX_ANSIBLE=latest - TOX_DISTRO=fedora29 TOX_ANSIBLE=latest
# - TOX_DISTRO=fedora28 TOX_ANSIBLE=latest - TOX_DISTRO=fedora28 TOX_ANSIBLE=latest
# - TOX_DISTRO=opensuselatest TOX_ANSIBLE=latest - TOX_DISTRO=opensuselatest TOX_ANSIBLE=latest
# - TOX_DISTRO=opensuse15 TOX_ANSIBLE=latest - TOX_DISTRO=opensuse15 TOX_ANSIBLE=latest
# - TOX_DISTRO=ubuntulatest TOX_ANSIBLE=latest - TOX_DISTRO=ubuntulatest TOX_ANSIBLE=latest
# - TOX_DISTRO=ubuntu2004 TOX_ANSIBLE=latest - TOX_DISTRO=ubuntu2004 TOX_ANSIBLE=latest
# - TOX_DISTRO=ubuntu1904 TOX_ANSIBLE=latest - TOX_DISTRO=ubuntu1904 TOX_ANSIBLE=latest
# - TOX_DISTRO=ubuntu1804 TOX_ANSIBLE=latest - TOX_DISTRO=ubuntu1804 TOX_ANSIBLE=latest
# - TOX_DISTRO=ubuntu1604 TOX_ANSIBLE=latest - TOX_DISTRO=ubuntu1604 TOX_ANSIBLE=latest
# - TOX_DISTRO=alpinelatest TOX_ANSIBLE={29,28} - TOX_DISTRO=alpinelatest TOX_ANSIBLE={29,28}
# - TOX_DISTRO=alpine310 TOX_ANSIBLE={29,28} - TOX_DISTRO=alpine310 TOX_ANSIBLE={29,28}
# - TOX_DISTRO=alpine39 TOX_ANSIBLE={29,28} - TOX_DISTRO=alpine39 TOX_ANSIBLE={29,28}
# - TOX_DISTRO=centoslatest TOX_ANSIBLE={29,28} - TOX_DISTRO=centoslatest TOX_ANSIBLE={29,28}
# - TOX_DISTRO=centos8 TOX_ANSIBLE={29,28} - TOX_DISTRO=centos8 TOX_ANSIBLE={29,28}
# - TOX_DISTRO=centos7 TOX_ANSIBLE={29,28} - TOX_DISTRO=centos7 TOX_ANSIBLE={29,28}
# - TOX_DISTRO=clearlinuxlatest TOX_ANSIBLE={29,28} - TOX_DISTRO=clearlinuxlatest TOX_ANSIBLE={29,28}
# - TOX_DISTRO=debianlatest TOX_ANSIBLE={29,28} - TOX_DISTRO=debianlatest TOX_ANSIBLE={29,28}
# - TOX_DISTRO=debianstable TOX_ANSIBLE={29,28} - TOX_DISTRO=debianstable TOX_ANSIBLE={29,28}
# - TOX_DISTRO=debian10 TOX_ANSIBLE={29,28} - TOX_DISTRO=debian10 TOX_ANSIBLE={29,28}
# - TOX_DISTRO=debian9 TOX_ANSIBLE={29,28} - TOX_DISTRO=debian9 TOX_ANSIBLE={29,28}
# - TOX_DISTRO=debian8 TOX_ANSIBLE={29,28} - TOX_DISTRO=debian8 TOX_ANSIBLE={29,28}
# - TOX_DISTRO=fedoralatest TOX_ANSIBLE={29,28} - TOX_DISTRO=fedoralatest TOX_ANSIBLE={29,28}
# - TOX_DISTRO=fedora31 TOX_ANSIBLE={29,28} - TOX_DISTRO=fedora31 TOX_ANSIBLE={29,28}
# - TOX_DISTRO=fedora30 TOX_ANSIBLE={29,28} - TOX_DISTRO=fedora30 TOX_ANSIBLE={29,28}
# - TOX_DISTRO=fedora29 TOX_ANSIBLE={29,28} - TOX_DISTRO=fedora29 TOX_ANSIBLE={29,28}
# - TOX_DISTRO=fedora28 TOX_ANSIBLE={29,28} - TOX_DISTRO=fedora28 TOX_ANSIBLE={29,28}
# - TOX_DISTRO=opensuselatest TOX_ANSIBLE={29,28} - TOX_DISTRO=opensuselatest TOX_ANSIBLE={29,28}
# - TOX_DISTRO=opensuse15 TOX_ANSIBLE={29,28} - TOX_DISTRO=opensuse15 TOX_ANSIBLE={29,28}
# - TOX_DISTRO=ubuntulatest TOX_ANSIBLE={29,28} - TOX_DISTRO=ubuntulatest TOX_ANSIBLE={29,28}
# - TOX_DISTRO=ubuntu2004 TOX_ANSIBLE={29,28} - TOX_DISTRO=ubuntu2004 TOX_ANSIBLE={29,28}
# - TOX_DISTRO=ubuntu1904 TOX_ANSIBLE={29,28} - TOX_DISTRO=ubuntu1904 TOX_ANSIBLE={29,28}
# - TOX_DISTRO=ubuntu1804 TOX_ANSIBLE={29,28} - TOX_DISTRO=ubuntu1804 TOX_ANSIBLE={29,28}
# - TOX_DISTRO=ubuntu1604 TOX_ANSIBLE={29,28} - TOX_DISTRO=ubuntu1604 TOX_ANSIBLE={29,28}
script: script:
- tox -e $(echo py${TRAVIS_PYTHON_VERSION} | tr -d .)-ansible${TOX_ANSIBLE}-${TOX_DISTRO} - tox -e $(echo py${TRAVIS_PYTHON_VERSION} | tr -d .)-ansible${TOX_ANSIBLE}-${TOX_DISTRO}
- | - |

View file

@ -1,5 +1,6 @@
Check Ansible Version Check Ansible Version
======================== ========================
[![Build Status](https://travis-ci.org/chaos-bodensee/role-ansible_version.svg?branch=master)](https://github.com/chaos-bodensee/role-ansible_version.git)
What is it doing? What is it doing?
-------------- --------------
@ -49,3 +50,10 @@ Your Playbook could look like this:
------------ ------------
For possible modifications please have a look into the ``default`` Folder! For possible modifications please have a look into the ``default`` Folder!
Participation
-------------
This role is developed on [github](https://github.com/chaos-bodensee/role-ansible_version.git).
Feel free to add any Issues or PullRequests there. Thanks <3