]> git.immae.eu Git - github/fretlink/ansible-kong-app.git/blob - .travis.yml
de15287e6a4605c6300ea3454e258e91dd56b8d8
[github/fretlink/ansible-kong-app.git] / .travis.yml
1 ---
2 language: nix
3
4 # Use the new container infrastructure
5 sudo: false
6
7 install:
8 # Install ansible
9 - nix-env -i python2.7-ansible python2.7-ansible-lint
10
11 # Check ansible version
12 - ansible --version
13
14 # Create ansible.cfg with correct roles_path
15 - printf '[defaults]\nroles_path=../' >ansible.cfg
16
17 script:
18 # Basic role syntax check
19 - ansible-playbook tests/test.yml -i tests/inventory --syntax-check
20 - ansible-lint .
21 - ansible-playbook tests/test.yml -i tests/inventory -C -D
22
23 notifications:
24 webhooks: https://galaxy.ansible.com/api/v1/notifications/