Skip to content

Commit

Permalink
Merge pull request #1 from superlumic/travis-testing
Browse files Browse the repository at this point in the history
Add travis testing
  • Loading branch information
Roderik van der Veer committed Sep 27, 2015
2 parents d503593 + 4f77a61 commit 1ba85e4
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
language: objective-c

os:
- osx

osx_image: xcode7

install:
- sudo easy_install pip
- sudo pip install ansible
- mkdir -p /tmp/roles
- "{ echo '[defaults]'; echo 'roles_path = ../:/tmp/roles'; } >> ansible.cfg"

script:
- "ansible-playbook -i tests/inventory tests/travis.yml --syntax-check"
- "ansible-playbook -i tests/inventory tests/travis.yml --connection=local"
1 change: 1 addition & 0 deletions tests/inventory
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
localhost
6 changes: 6 additions & 0 deletions tests/travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
- hosts: 127.0.0.1
connection: local

roles:
- ansible-role-homebrew

0 comments on commit 1ba85e4

Please sign in to comment.