diff options
author | Gaƫtan <36162164+gaetanfl@users.noreply.github.com> | 2018-04-23 10:57:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-23 10:57:50 +0200 |
commit | 208d503983ba44c64f92c20e8d062905a2ac47f5 (patch) | |
tree | 6708c8474e2a2749f737817840b0f050d5236e44 /.travis.yml | |
parent | 530dddec969df385e9aa29af0917f6ca97094d68 (diff) | |
parent | 767c0e538b6b7c751784444fd6c676668e3a1b01 (diff) | |
download | ansible-kong-app-208d503983ba44c64f92c20e8d062905a2ac47f5.tar.gz ansible-kong-app-208d503983ba44c64f92c20e8d062905a2ac47f5.tar.zst ansible-kong-app-208d503983ba44c64f92c20e8d062905a2ac47f5.zip |
Merge pull request #1 from gaetanfl/initial_versionv0.1
initial version
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..812d0fe --- /dev/null +++ b/.travis.yml | |||
@@ -0,0 +1,32 @@ | |||
1 | --- | ||
2 | language: python | ||
3 | python: "2.7" | ||
4 | |||
5 | # Use the new container infrastructure | ||
6 | sudo: false | ||
7 | |||
8 | # Install ansible | ||
9 | addons: | ||
10 | apt: | ||
11 | packages: | ||
12 | - python-pip | ||
13 | |||
14 | install: | ||
15 | # Install ansible | ||
16 | - pip install ansible | ||
17 | - pip install ansible-lint | ||
18 | |||
19 | # Check ansible version | ||
20 | - ansible --version | ||
21 | |||
22 | # Create ansible.cfg with correct roles_path | ||
23 | - printf '[defaults]\nroles_path=../' >ansible.cfg | ||
24 | |||
25 | script: | ||
26 | # Basic role syntax check | ||
27 | - ansible-playbook tests/test.yml -i tests/inventory --syntax-check | ||
28 | - ansible-lint . | ||
29 | - ansible-playbook tests/test.yml -i tests/inventory -C -D | ||
30 | |||
31 | notifications: | ||
32 | webhooks: https://galaxy.ansible.com/api/v1/notifications/ | ||