mirror of https://github.com/ceph/ceph-ansible.git
14 lines
450 B
YAML
14 lines
450 B
YAML
language: python
|
|
python:
|
|
- "2.7"
|
|
- "3.6"
|
|
notifications:
|
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
|
install:
|
|
- pip install -r requirements.txt
|
|
- pip install ansible-lint pytest
|
|
script:
|
|
- if [[ -n $(grep --exclude-dir=.git -P "\xa0" -r .) ]]; then echo 'NBSP characters found'; exit 1; fi
|
|
- pytest -vvvv library/ plugins/
|
|
- for i in $(ls -1 roles/); do ANSIBLE_LOG_PATH=/dev/null ansible-lint -x 204 -v roles/$i/ ; done
|