ceph-ansible/.travis.yml

13 lines
461 B
YAML

sudo: required
language: python
python:
- "3.6"
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/
install:
- pip install -r requirements.txt
script:
- if [[ -n $(grep --exclude-dir=.git -P "\xa0" -r .) ]]; then echo 'NBSP characters found'; exit 1; fi
- ansible-playbook -i '127.0.0.1,' site.yml.sample --syntax-check --list-tasks -vv
- ansible-playbook -i '127.0.0.1,' site-docker.yml.sample --syntax-check --list-tasks -vv