2018-10-30 19:04:59 +08:00
|
|
|
sudo: required
|
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "3.6"
|
|
|
|
notifications:
|
|
|
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
|
|
|
install:
|
|
|
|
- pip install -r requirements.txt
|
2018-11-01 02:01:53 +08:00
|
|
|
- pip install ansible-lint
|
|
|
|
- git clone https://github.com/ansible/galaxy-lint-rules
|
2018-10-30 19:04:59 +08:00
|
|
|
script:
|
2018-11-01 22:54:12 +08:00
|
|
|
- for i in $(ls -1 roles/); do ansible-lint -x 204 -v -r galaxy-lint-rules/rules roles/$i/ ; done
|