-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
37 lines (32 loc) · 1.15 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
language: python
python: '2.7'
env:
global:
- SITE=local_host.yml
matrix:
- VARS=""
- VARS='ipset=true statistical_graphs=false'
- VARS='ipset=false statistical_graphs=true'
- VARS='ipset=true statistical_graphs=true'
before_install:
- sudo apt-get update
install:
- pip install ansible
- ansible --version
- "{ echo '[defaults]'; echo 'roles_path = ../'; } >> ansible.cfg"
script:
- ansible-playbook -i meta/tests/inventory meta/tests/$SITE --syntax-check
- ansible-playbook -i meta/tests/inventory meta/tests/$SITE --connection=local --sudo --extra-vars="$VARS"
notifications:
email:
recipients:
secure: K6bXbF/pQM/emavsDAGlijWQahtlTkFp7pIKvAAsuOv4R4ex3dMDAFakoUBZMxDBtPmcwJhakKOh5uJunu498UV7dojgFPOgmYG6Hg8lXaldjeiKqJeROz3oHLIAisNv5trANlJHEP25AGrQTtZPD5WyY/mcnm371ZEJ7LwqHjI=
on_success: always
on_failure: always
hipchat:
rooms:
secure: UemuIs0KqmLitq34w/EdgdKJVfpM3Yv6oTZK1cjhRDChRQ81QNkYaJmDaUzsRsHwe54RU6SqG3Y6wgUDa5alKcs2x61FLLSXWdSG+C+R2a2HtzU7C4TXHCzdDqQurdmBX3iWmjmRvfEd9bli7AMCXOernPFxEfCwhkqSc9yaAu8=
notify: true
webhooks:
urls: https://galaxy.ansible.com/api/v1/notifications/