Skip to content

Commit

Permalink
Added Ansible version 1.8 to test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
tersmitten committed Dec 5, 2014
1 parent 8b3bc01 commit 9a8a7d4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ env:
- ANSIBLE_VERSION=1.5
- ANSIBLE_VERSION=1.6
- ANSIBLE_VERSION=1.7
- ANSIBLE_VERSION=1.8

before_install:
- sudo apt-get update -qq
Expand All @@ -19,14 +20,14 @@ install:
- pip install ansible==$ANSIBLE_VERSION

# Add ansible.cfg to pick up roles path.
- "printf '[defaults]\nroles_path = ../' > ansible.cfg"
- printf "[defaults]\nroles_path = ../" > ansible.cfg

script:
# Check the role/playbook's syntax.
- "ansible-playbook -i tests/inventory tests/test.yml --syntax-check"
- ansible-playbook -i tests/inventory tests/test.yml --syntax-check

# Run the role/playbook with ansible-playbook.
- "ansible-playbook -i tests/inventory tests/test.yml --connection=local --sudo -vvvv"
- ansible-playbook -i tests/inventory tests/test.yml --connection=local --sudo -vvvv

# Run the role/playbook again, checking to make sure it's idempotent.
- >
Expand Down

0 comments on commit 9a8a7d4

Please sign in to comment.