Skip to content

Commit

Permalink
Indent .travis.yml correctly
Browse files Browse the repository at this point in the history
Wrong .travis.yml indentation was preventing this project from being
built.
  • Loading branch information
queeno committed Nov 17, 2014
1 parent 6d0c371 commit 84a9ba7
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
---
language: python
python: "2.7"

before_install:
- sudo apt-get update -qq
install:
# Install Ansible.
- pip install ansible==1.7.2

install:
# Install Ansible.
- pip install ansible==1.7.2

# Create an inventory file for testing.
- "echo 'uchiwa-standalone ansible_ssh_host=localhost' > inventory"
script:
# Check the role/playbook's syntax.
- "ansible-playbook -i inventory vagrant/site.yml --syntax-check"
- "echo 'uchiwa-standalone ansible_ssh_host=localhost' > inventory"

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

# Run the playbook
- "ansible-playbook -vvvv -i inventory vagrant/site.yml --connection=local --sudo"
- "ansible-playbook -vvvv -i inventory vagrant/site.yml --connection=local --sudo"

0 comments on commit 84a9ba7

Please sign in to comment.