2019-02-09 07:51:26 +00:00
|
|
|
---
|
|
|
|
sudo: required
|
|
|
|
language: ruby
|
|
|
|
|
|
|
|
env:
|
2019-02-17 08:27:49 +00:00
|
|
|
- OS=debian9 ANSIBLE_VERSION=2.5
|
|
|
|
- OS=debian9 ANSIBLE_VERSION=2.6
|
|
|
|
- OS=debian9 ANSIBLE_VERSION=2.7
|
|
|
|
- OS=ubuntu18.04 ANSIBLE_VERSION=2.7
|
|
|
|
- OS=ubuntu16.04 ANSIBLE_VERSION=2.7
|
|
|
|
- OS=centos7 ANSIBLE_VERSION=2.7
|
2019-02-09 07:51:26 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- bundle install
|
|
|
|
- sudo pip install --upgrade pip
|
|
|
|
- sudo pip install yamllint
|
|
|
|
- sudo pip install ansible-lint
|
|
|
|
- git clone https://github.com/ansible/galaxy-lint-rules.git
|
|
|
|
|
|
|
|
script:
|
2019-02-16 09:01:49 +00:00
|
|
|
- kitchen conv
|
2019-02-17 08:27:49 +00:00
|
|
|
- kitchen conv | grep changed=0
|
2019-02-16 09:01:49 +00:00
|
|
|
- kitchen verify
|
2019-02-09 07:51:26 +00:00
|
|
|
- ansible-lint -r galaxy-lint-rules/rules .
|
|
|
|
- yamllint .
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|