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