]>
Commit | Line | Data |
---|---|---|
d213edd1 | 1 | --- |
6fc5ba3e | 2 | language: nix |
d213edd1 GD |
3 | |
4 | # Use the new container infrastructure | |
5 | sudo: false | |
6 | ||
d213edd1 GD |
7 | install: |
8 | # Install ansible | |
6fc5ba3e | 9 | - nix-env -i python2.7-ansible python2.7-ansible-lint |
25bf64cb | 10 | - nix-env -if ./dhall-1.26.1.nix |
d213edd1 GD |
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 | |
77e27a11 | 23 | - scripts/dhall_check.sh |
d213edd1 GD |
24 | |
25 | notifications: | |
26 | webhooks: https://galaxy.ansible.com/api/v1/notifications/ |