ansible-role-sensu/.travis.yml

30 lines
576 B
YAML
Raw Permalink Normal View History

2019-02-09 07:51:26 +00:00
---
sudo: required
dist: bionic
addons:
apt:
packages:
- python3
- python3-pip
- python3-setuptools
2019-02-09 07:51:26 +00:00
env:
- ANSIBLE_VERSION=2.7.16
- ANSIBLE_VERSION=2.8.8
- ANSIBLE_VERSION=2.9.4
2019-02-09 07:51:26 +00:00
services:
- docker
before_install:
- sudo pip3 install ansible==${ANSIBLE_VERSION}
- sudo pip3 install molecule 'molecule[docker]' docker testinfra ansible-lint yamllint
2019-02-09 07:51:26 +00:00
- git clone https://github.com/ansible/galaxy-lint-rules.git
script:
- ansible --version
- molecule test
2019-02-09 07:51:26 +00:00
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/