diff options
author | Gaƫtan <36162164+gaetanfl@users.noreply.github.com> | 2018-09-21 13:47:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-21 13:47:19 +0200 |
commit | d625a00570b54cd02f64ae6b11922ce9a7acaccf (patch) | |
tree | 10d83c0817dc2131fe7e902cb5426c31a0a5f72a /.travis.yml | |
parent | 4eeb5deae31c0173f46d4a2d2a6835612157ced7 (diff) | |
parent | b8ad037f5793cb7bdb6a4083bac54fcb35934116 (diff) | |
download | ansible-clever-d625a00570b54cd02f64ae6b11922ce9a7acaccf.tar.gz ansible-clever-d625a00570b54cd02f64ae6b11922ce9a7acaccf.tar.zst ansible-clever-d625a00570b54cd02f64ae6b11922ce9a7acaccf.zip |
Merge pull request #11 from gaetanfl/lint
add ansible-lint test and fix warning
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 2b452f9..82ddcec 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -5,6 +5,7 @@ sudo: false | |||
5 | 5 | ||
6 | install: | 6 | install: |
7 | - nix-env -i python2.7-ansible | 7 | - nix-env -i python2.7-ansible |
8 | - nix-env -i python2.7-ansible-lint | ||
8 | 9 | ||
9 | # Check ansible version | 10 | # Check ansible version |
10 | - ansible --version | 11 | - ansible --version |
@@ -18,6 +19,7 @@ install: | |||
18 | script: | 19 | script: |
19 | # Basic role syntax check | 20 | # Basic role syntax check |
20 | - ansible-playbook tests/test.yml -i tests/inventory --syntax-check | 21 | - ansible-playbook tests/test.yml -i tests/inventory --syntax-check |
22 | - ansible-lint . | ||
21 | 23 | ||
22 | notifications: | 24 | notifications: |
23 | slack: fretlink:pTIylIN7zkwRFuL3aHERmsbB | 25 | slack: fretlink:pTIylIN7zkwRFuL3aHERmsbB |