Skip to content

Commit

Permalink
Use ansible-lint==2.3.6
Browse files Browse the repository at this point in the history
Before sudo rule merge
ansible/ansible-lint#96

* Add test-requirements.txt
* travis: enable cache for pip packages
  • Loading branch information
spk committed Mar 5, 2016
1 parent af62fe7 commit bfe6fe8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
language: python
python: "2.7"
cache:
directories:
- $HOME/.cache/pip
install:
- pip install ansible ansible-lint
# TODO: use requirements.txt when ansible updated to >= 1.9
- pip install ansible
- pip install -r test-requirements.txt
script:
- ansible-playbook --syntax-check -i hosts site.yml
- ansible-lint site.yml
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
ansible==1.6.6

1 change: 1 addition & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ansible-lint==2.3.6

0 comments on commit bfe6fe8

Please sign in to comment.