aboutsummaryrefslogtreecommitdiffhomepage
path: root/Vagrant/roles/ansible-rabbitmq/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to 'Vagrant/roles/ansible-rabbitmq/.travis.yml')
-rw-r--r--Vagrant/roles/ansible-rabbitmq/.travis.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/Vagrant/roles/ansible-rabbitmq/.travis.yml b/Vagrant/roles/ansible-rabbitmq/.travis.yml
new file mode 100644
index 0000000..36bbf62
--- /dev/null
+++ b/Vagrant/roles/ansible-rabbitmq/.travis.yml
@@ -0,0 +1,29 @@
1---
2language: python
3python: "2.7"
4
5# Use the new container infrastructure
6sudo: false
7
8# Install ansible
9addons:
10 apt:
11 packages:
12 - python-pip
13
14install:
15 # Install ansible
16 - pip install ansible
17
18 # Check ansible version
19 - ansible --version
20
21 # Create ansible.cfg with correct roles_path
22 - printf '[defaults]\nroles_path=../' >ansible.cfg
23
24script:
25 # Basic role syntax check
26 - ansible-playbook tests/test.yml -i tests/inventory --syntax-check
27
28notifications:
29 webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file