]> git.immae.eu Git - github/fretlink/ansible-clever.git/blob - .travis.yml
Merge pull request #49 from paulrbr-fl/clever-deploy-back-to-polling
[github/fretlink/ansible-clever.git] / .travis.yml
1 ---
2 language: nix
3
4 sudo: false
5
6 install:
7 - nix-env -i python2.7-ansible python2.7-ansible-lint ShellCheck-0.6.0
8 - nix-env -if ./dhall-1.21.0.nix
9
10 # Check ansible version
11 - ansible --version
12
13 # Alias role name to mimic actual Galaxy deployment
14 - ln -s ansible-clever ../clever
15
16 # Create ansible.cfg with correct roles_path
17 - printf '[defaults]\nroles_path=../' >ansible.cfg
18
19 script:
20 # Basic role syntax check
21 - ansible-playbook tests/test.yml -i tests/inventory --syntax-check
22 - ansible-lint .
23 - shellcheck **/*.sh
24 - scripts/dhall_check.sh
25
26 notifications:
27 slack: fretlink:pTIylIN7zkwRFuL3aHERmsbB