]> git.immae.eu Git - github/fretlink/ansible-kong-app.git/blob - .travis.yml
add dhall interface
[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 - nix-env -if ./dhall-1.18.0.nix
11
12 # Check ansible version
13 - ansible --version
14
15 # Create ansible.cfg with correct roles_path
16 - printf '[defaults]\nroles_path=../' >ansible.cfg
17
18 script:
19 # Basic role syntax check
20 - ansible-playbook tests/test.yml -i tests/inventory --syntax-check
21 - ansible-lint .
22 - ansible-playbook tests/test.yml -i tests/inventory -C -D
23 - scripts/dhall_check.sh
24
25 notifications:
26 webhooks: https://galaxy.ansible.com/api/v1/notifications/