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
|
|
|
|
script:
|
2019-07-19 02:57:46 +08:00
|
|
|
- if [[ -n $(grep --exclude-dir=.git -P "\xa0" -r .) ]]; then echo 'NBSP characters found'; exit 1; fi
|
2018-10-30 19:18:16 +08:00
|
|
|
- ansible-playbook -i '127.0.0.1,' site.yml.sample --syntax-check --list-tasks -vv
|
2019-07-19 02:57:46 +08:00
|
|
|
- ansible-playbook -i '127.0.0.1,' site-docker.yml.sample --syntax-check --list-tasks -vv
|