ansible-role-phpfpm/.travis.yml

30 lines
621 B
YAML
Raw Normal View History

2018-11-30 17:59:40 +00:00
---
2018-08-07 20:53:28 +00:00
sudo: required
language: ruby
env:
- ANSIBLE_VERSION=2.4
- ANSIBLE_VERSION=2.5
- ANSIBLE_VERSION=2.6
2018-11-30 22:26:00 +00:00
- ANSIBLE_VERSION=2.7
2018-08-07 20:53:28 +00:00
services:
- docker
before_install:
- bundle install
2018-11-30 17:53:08 +00:00
- sudo pip install --upgrade pip
2018-11-30 17:59:40 +00:00
- sudo pip install yamllint
2018-11-30 17:53:08 +00:00
- sudo pip install ansible-lint
- git clone https://github.com/ansible/galaxy-lint-rules.git
2018-08-07 20:53:28 +00:00
script:
- kitchen conv phpfpm-debian-9
- kitchen conv phpfpm-debian-9 | grep changed=0
- kitchen verify phpfpm-debian-9
2018-11-30 17:53:08 +00:00
- ansible-lint -r galaxy-lint-rules/rules .
2018-11-30 17:59:40 +00:00
- yamllint .
2018-08-15 14:57:59 +00:00
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/