diff options
author | Paul Bonaud <paul.bonaud@fretlink.com> | 2020-06-19 11:38:17 +0200 |
---|---|---|
committer | Paul Bonaud <paul.bonaud@fretlink.com> | 2020-06-19 17:01:56 +0200 |
commit | 351765fbc860a54d0b8691f74555b04fde5416bb (patch) | |
tree | 771157ad22043a84167670ffccc723979c0e1b0b /.travis.yml | |
parent | af67286adea7da4e01883bb6c60f44a6141e439f (diff) | |
download | ansible-clever-351765fbc860a54d0b8691f74555b04fde5416bb.tar.gz ansible-clever-351765fbc860a54d0b8691f74555b04fde5416bb.tar.zst ansible-clever-351765fbc860a54d0b8691f74555b04fde5416bb.zip |
tests: Add more test cases
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 0fcb053..752366f 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -19,8 +19,7 @@ install: | |||
19 | - printf '[defaults]\nroles_path=../' >ansible.cfg | 19 | - printf '[defaults]\nroles_path=../' >ansible.cfg |
20 | 20 | ||
21 | script: | 21 | script: |
22 | # Basic role syntax check | 22 | # Basic role syntax check & linting |
23 | - ansible-playbook tests/test.yml -i tests/inventory --syntax-check | ||
24 | - ansible-lint . | 23 | - ansible-lint . |
25 | - shellcheck **/*.sh | 24 | - shellcheck **/*.sh |
26 | - scripts/dhall_check.sh | 25 | - scripts/dhall_check.sh |
@@ -28,7 +27,9 @@ script: | |||
28 | - mkdir -p ~/.local/bin | 27 | - mkdir -p ~/.local/bin |
29 | - cp tests/fake.sh ~/.local/bin/clever | 28 | - cp tests/fake.sh ~/.local/bin/clever |
30 | - cp tests/fake.sh ~/.local/bin/git | 29 | - cp tests/fake.sh ~/.local/bin/git |
31 | - ansible-playbook tests/test.yml -i tests/inventory | 30 | - ansible-playbook tests/test-simple-app.yml -i tests/inventory |
31 | - ansible-playbook tests/test-haskell-app.yml -i tests/inventory | ||
32 | - ansible-playbook tests/test-configure-app.yml -i tests/inventory | ||
32 | 33 | ||
33 | notifications: | 34 | notifications: |
34 | slack: fretlink:pTIylIN7zkwRFuL3aHERmsbB | 35 | slack: fretlink:pTIylIN7zkwRFuL3aHERmsbB |