Skip to content

Commit 6fba52d

Browse files
author
Roderik van der Veer
committed
Add travis testing
1 parent f2f6294 commit 6fba52d

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
language: objective-c
3+
4+
os:
5+
- osx
6+
7+
osx_image: xcode7
8+
9+
install:
10+
- sudo easy_install pip
11+
- sudo pip install ansible
12+
- mkdir -p /tmp/roles
13+
- "{ echo '[defaults]'; echo 'roles_path = ../:/tmp/roles'; } >> ansible.cfg"
14+
15+
script:
16+
- "ansible-playbook -i tests/inventory tests/travis.yml --syntax-check"
17+
- "ansible-playbook -i tests/inventory tests/travis.yml --connection=local"

tests/inventory

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
localhost

tests/travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
- hosts: 127.0.0.1
3+
connection: local
4+
5+
roles:
6+
- ansible-role-vim

0 commit comments

Comments
 (0)