Skip to content
This repository was archived by the owner on Jan 12, 2020. It is now read-only.

Commit 9c2422d

Browse files
committed
add linter
1 parent e3ff4a4 commit 9c2422d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1-
#sudo: required
1+
---
2+
# sudo: required
23
language: python
34
cache: pip
45
before_install:
56
- sudo apt-get -qq update
67
- sudo apt-get install -y golang sshpass
78
install:
8-
- pip install ansible jmespath git-lfs ara
9+
- pip install ansible jmespath git-lfs ara ansible-lint
910
script:
1011
- ansible-galaxy install -r roles/requirements.yml
1112
- ansible-playbook --syntax-check site.yml
13+
- ansible-lint site.yml || echo "Linting problems found"
1214
deploy:
1315
provider: script
1416
skip_cleanup: true

0 commit comments

Comments
 (0)