svallee.prosody/.travis.yml
2018-02-10 23:00:37 +01:00

28 lines
565 B
YAML

---
sudo: required
language: python
python: "2.7"
# Install ansible
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq python-apt python-pycurl python-pip
install:
# Install ansible
- pip install ansible
# Check ansible version
- ansible --version
# Create ansible.cfg with correct roles_path
- printf '[defaults]\nroles_path=../' >ansible.cfg
script:
# Basic role syntax check
- ansible-playbook tests/test.yml -i tests/inventory --syntax-check
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/