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

Update ci

This commit is contained in:
L3D 2020-02-20 19:39:35 +01:00
parent 2a3509f06b
commit a4d9ce6ade
Signed by: l3d
GPG key ID: CD08445BFF4313D1
4 changed files with 0 additions and 152 deletions

1
.github/FUNDING.yml vendored
View file

@ -2,4 +2,3 @@
github: [do1jlr] github: [do1jlr]
liberapay: L3D liberapay: L3D
custom: ['https://paypal.me/c3woc']

View file

@ -1,2 +0,0 @@
docker
molecule

View file

@ -1,81 +0,0 @@
---
version: "~> 1.0"
os: linux
language: python
python:
- '3.8'
- '3.7'
- '3.6'
services: docker
cache:
pip: true
directories:
- ".tox"
install:
- pip install tox-travis
env:
jobs:
- TOX_DISTRO=archlinuxlatest TOX_ANSIBLE=latest
- TOX_DISTRO=alpinelatest TOX_ANSIBLE=latest
- TOX_DISTRO=alpine310 TOX_ANSIBLE=latest
- TOX_DISTRO=alpine39 TOX_ANSIBLE=latest
- TOX_DISTRO=centoslatest TOX_ANSIBLE=latest
- TOX_DISTRO=centos8 TOX_ANSIBLE=latest
- TOX_DISTRO=centos7 TOX_ANSIBLE=latest
- TOX_DISTRO=clearlinuxlatest TOX_ANSIBLE=latest
- TOX_DISTRO=debianlatest TOX_ANSIBLE=latest
- TOX_DISTRO=debianstable TOX_ANSIBLE=latest
- TOX_DISTRO=debian10 TOX_ANSIBLE=latest
- TOX_DISTRO=debian9 TOX_ANSIBLE=latest
- TOX_DISTRO=debian8 TOX_ANSIBLE=latest
- TOX_DISTRO=fedoralatest TOX_ANSIBLE=latest
- TOX_DISTRO=fedora31 TOX_ANSIBLE=latest
- TOX_DISTRO=fedora30 TOX_ANSIBLE=latest
- TOX_DISTRO=fedora29 TOX_ANSIBLE=latest
- TOX_DISTRO=fedora28 TOX_ANSIBLE=latest
- TOX_DISTRO=opensuselatest TOX_ANSIBLE=latest
- TOX_DISTRO=opensuse15 TOX_ANSIBLE=latest
- TOX_DISTRO=ubuntulatest TOX_ANSIBLE=latest
- TOX_DISTRO=ubuntu2004 TOX_ANSIBLE=latest
- TOX_DISTRO=ubuntu1904 TOX_ANSIBLE=latest
- TOX_DISTRO=ubuntu1804 TOX_ANSIBLE=latest
- TOX_DISTRO=ubuntu1604 TOX_ANSIBLE=latest
- TOX_DISTRO=alpinelatest TOX_ANSIBLE={29,28}
- TOX_DISTRO=alpine310 TOX_ANSIBLE={29,28}
- TOX_DISTRO=alpine39 TOX_ANSIBLE={29,28}
- TOX_DISTRO=centoslatest TOX_ANSIBLE={29,28}
- TOX_DISTRO=centos8 TOX_ANSIBLE={29,28}
- TOX_DISTRO=centos7 TOX_ANSIBLE={29,28}
- TOX_DISTRO=clearlinuxlatest TOX_ANSIBLE={29,28}
- TOX_DISTRO=debianlatest TOX_ANSIBLE={29,28}
- TOX_DISTRO=debianstable TOX_ANSIBLE={29,28}
- TOX_DISTRO=debian10 TOX_ANSIBLE={29,28}
- TOX_DISTRO=debian9 TOX_ANSIBLE={29,28}
- TOX_DISTRO=debian8 TOX_ANSIBLE={29,28}
- TOX_DISTRO=fedoralatest TOX_ANSIBLE={29,28}
- TOX_DISTRO=fedora31 TOX_ANSIBLE={29,28}
- TOX_DISTRO=fedora30 TOX_ANSIBLE={29,28}
- TOX_DISTRO=fedora29 TOX_ANSIBLE={29,28}
- TOX_DISTRO=fedora28 TOX_ANSIBLE={29,28}
- TOX_DISTRO=opensuselatest TOX_ANSIBLE={29,28}
- TOX_DISTRO=opensuse15 TOX_ANSIBLE={29,28}
- TOX_DISTRO=ubuntulatest TOX_ANSIBLE={29,28}
- TOX_DISTRO=ubuntu2004 TOX_ANSIBLE={29,28}
- TOX_DISTRO=ubuntu1904 TOX_ANSIBLE={29,28}
- TOX_DISTRO=ubuntu1804 TOX_ANSIBLE={29,28}
- TOX_DISTRO=ubuntu1604 TOX_ANSIBLE={29,28}
script:
- tox -e $(echo py${TRAVIS_PYTHON_VERSION} | tr -d .)-ansible${TOX_ANSIBLE}-${TOX_DISTRO}
- |
rm -r .tox/py*/log/*
find . -type f -name '*.py[co]' -delete -o -type d -name __pycache__ -delete
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/

68
tox.ini
View file

@ -1,68 +0,0 @@
[tox]
minversion = 3.7
envlist = py{3}-ansible{latest,29,28}-{ alpinelatest,alpine310,alpine39,alpine38, centoslatest,centos8,centos7, debianlatest,debian10,debian9,debian8, fedoralatest,fedora30,fedora29,fedora28, ubuntulatest,ubuntu2004,ubuntu1904,ubuntu1804,ubuntu1604 }
# only test currently supported ansible versions
# https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#release-status
skipsdist = true
[base]
passenv = *
deps =
-r.requirements.txt
ansible25: ansible==2.5
ansible26: ansible==2.6
ansible27: ansible==2.7
ansible28: ansible==2.8
ansible29: ansible==2.9
ansiblelatest: ansible
commands =
ansible-playbook .ansible-test.yml -i localhost
setenv =
TOX_ENVNAME={envname}
MOLECULE_EPHEMERAL_DIRECTORY=/tmp/{envname}
[testenv]
passenv =
{[base]passenv}
deps =
{[base]deps}
commands =
{[base]commands}
setenv =
archlinuxlatest: MOLECULE_DISTRO="archlinux:latest"
alpinelatest: MOLECULE_DISTRO="alpine:latest"
alpine310: MOLECULE_DISTRO="alpine:3.10"
alpine39: MOLECULE_DISTRO="alpine:3.9"
alpine38: MOLECULE_DISTRO="alpine:3.8"
centoslatest: MOLECULE_DISTRO="centos:latest"
centos8: MOLECULE_DISTRO="centos:8"
centos7: MOLECULE_DISTRO="centos:7"
clearlinuxlatest: MOLECULE_DISTRO="clearlinux:latest"
debianlatest: MOLECULE_DISTRO="debian:latest"
debianstable: MOLECULE_DISTRO="debian:stable"
debian10: MOLECULE_DISTRO="debian:10"
debian9: MOLECULE_DISTRO="debian:9"
debian8: MOLECULE_DISTRO="debian:8"
fedoralatest: MOLECULE_DISTRO="fedora:latest"
fedora31: MOLECULE_DISTRO="fedora:31"
fedora30: MOLECULE_DISTRO="fedora:30"
fedora29: MOLECULE_DISTRO="fedora:29"
fedora28: MOLECULE_DISTRO="fedora:28"
opensuselatest: MOLECULE_DISTRO="opensuse/leap:latest"
opensuse15: MOLECULE_DISTRO="opensuse/leap:15"
ubuntulatest: MOLECULE_DISTRO="ubuntu:latest"
ubuntu2004: MOLECULE_DISTRO="ubuntu:20.04"
ubuntu1904: MOLECULE_DISTRO="ubuntu:19.04"
ubuntu1804: MOLECULE_DISTRO="ubuntu:18.04"
ubuntu1604: MOLECULE_DISTRO="ubuntu:16.04"
{[base]setenv}