]> git.immae.eu Git - github/fretlink/ansible-kong-app.git/blame - .travis.yml
Merge pull request #6 from fmenou/nix
[github/fretlink/ansible-kong-app.git] / .travis.yml
CommitLineData
d213edd1 1---
6fc5ba3e 2language: nix
d213edd1
GD
3
4# Use the new container infrastructure
5sudo: false
6
d213edd1
GD
7install:
8 # Install ansible
6fc5ba3e 9 - nix-env -i python2.7-ansible python2.7-ansible-lint
d213edd1
GD
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
17script:
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
23notifications:
24 webhooks: https://galaxy.ansible.com/api/v1/notifications/