]> git.immae.eu Git - github/fretlink/ansible-clever.git/blame - .travis.yml
Merge pull request #40 from gaetanfl/fix_ansible_lint_4.1
[github/fretlink/ansible-clever.git] / .travis.yml
CommitLineData
8692bc27 1---
d0ad3639 2language: nix
8692bc27 3
8692bc27
GD
4sudo: false
5
8692bc27 6install:
d0ad3639 7 - nix-env -i python2.7-ansible
b8ad037f 8 - nix-env -i python2.7-ansible-lint
8b59c20a 9 - nix-env -if ./dhall-1.18.nix
8692bc27
GD
10
11 # Check ansible version
12 - ansible --version
13
f03052d5
FM
14 # Alias role name to mimic actual Galaxy deployment
15 - ln -s ansible-clever ../clever
16
8692bc27
GD
17 # Create ansible.cfg with correct roles_path
18 - printf '[defaults]\nroles_path=../' >ansible.cfg
19
20script:
21 # Basic role syntax check
22 - ansible-playbook tests/test.yml -i tests/inventory --syntax-check
7485b189 23 - ansible-lint .
8b59c20a 24 - scripts/dhall_check.sh
8692bc27
GD
25
26notifications:
910f387d 27 slack: fretlink:pTIylIN7zkwRFuL3aHERmsbB