2018-11-29 17:55:28 +00:00
|
|
|
---
|
2018-11-25 09:26:46 +00:00
|
|
|
sudo: required
|
2021-08-24 16:15:33 +00:00
|
|
|
dist: bionic
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- python3
|
|
|
|
- python3-pip
|
|
|
|
- python3-setuptools
|
2018-11-25 09:26:46 +00:00
|
|
|
|
|
|
|
env:
|
2021-08-24 16:15:33 +00:00
|
|
|
- ANSIBLE_VERSION=2.9.25
|
|
|
|
- ANSIBLE_VERSION=2.10.7
|
|
|
|
- ANSIBLE_VERSION=3.4.0
|
|
|
|
- ANSIBLE_VERSION=4.4.0
|
2018-11-26 17:25:59 +00:00
|
|
|
|
2018-11-25 09:26:46 +00:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
|
|
|
before_install:
|
2021-08-24 16:15:33 +00:00
|
|
|
- sudo pip3 install ansible==${ANSIBLE_VERSION}
|
|
|
|
- sudo pip3 install molecule 'molecule[docker]' docker testinfra ansible-lint yamllint
|
2018-11-26 17:25:59 +00:00
|
|
|
- git clone https://github.com/ansible/galaxy-lint-rules.git
|
2018-11-25 09:26:46 +00:00
|
|
|
|
|
|
|
script:
|
2021-08-24 16:15:33 +00:00
|
|
|
- ansible --version
|
|
|
|
- molecule test
|
2018-11-25 09:26:46 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|