Skip to content

Commit

Permalink
Add travis testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Roderik van der Veer committed Sep 27, 2015
1 parent 3a04a5b commit 2bc78ba
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
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"
- ansible-galaxy install -f -r tests/requirements.yml -p /tmp/roles

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
3 changes: 3 additions & 0 deletions tests/requirements.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---

- src: roderik.superlumic-homebrew
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-sublimetext

0 comments on commit 2bc78ba

Please sign in to comment.