ansible-role-fail2ban/.travis.yml

29 lines
603 B
YAML
Raw Normal View History

2018-11-29 18:29:30 +00:00
---
2018-08-10 21:33:35 +00:00
sudo: required
language: ruby
env:
- ANSIBLE_VERSION=2.5
- ANSIBLE_VERSION=2.6
2018-11-29 18:54:08 +00:00
- ANSIBLE_VERSION=2.7
2018-08-10 21:33:35 +00:00
services:
- docker
before_install:
- bundle install
2018-11-29 18:24:50 +00:00
- sudo pip install --upgrade pip
2018-11-29 18:29:30 +00:00
- sudo pip install yamllint
2018-11-29 18:24:50 +00:00
- sudo pip install ansible-lint
- git clone https://github.com/ansible/galaxy-lint-rules.git
2018-08-10 21:33:35 +00:00
script:
- kitchen conv fail2ban-debian-9
- kitchen conv fail2ban-debian-9 | grep changed=0
- kitchen verify fail2ban-debian-9
2018-11-29 18:24:50 +00:00
- ansible-lint -r galaxy-lint-rules/rules .
2018-11-29 18:29:30 +00:00
- yamllint .
2018-08-10 21:33:35 +00:00
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/