ansible-role-fail2ban/.travis.yml

29 lines
603 B
YAML
Raw Permalink Normal View History

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