]> git.immae.eu Git - github/fretlink/ansible-kong-app.git/blame - .travis.yml
Merge pull request #5 from gaetanfl/support_backend
[github/fretlink/ansible-kong-app.git] / .travis.yml
CommitLineData
d213edd1
GD
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 - 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
25script:
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
31notifications:
32 webhooks: https://galaxy.ansible.com/api/v1/notifications/