Enabled travis

This commit is contained in:
jpic 2015-05-15 00:05:21 +02:00
parent 53b26f6a9e
commit 5e5331c68a
4 changed files with 27 additions and 0 deletions

16
.travis.yml Normal file
View File

@ -0,0 +1,16 @@
language: python
python:
- '2.7'
before_install:
- sudo apt-get update
- curl -L http://bootstrap.saltstack.org | sudo sh -s -- git develop
install:
- sudo mkdir -p /srv && sudo ln -sfn $PWD /srv/formula
# See what kind of travis box you're on
# to help with making your states compatible with travis
- sudo salt-call grains.items --local
script:
- sudo salt-call state.show_highstate --local --retcode-passthrough --config-dir=test/etc

7
test/etc/minion Normal file
View File

@ -0,0 +1,7 @@
file_roots:
base:
- /srv/formula
pillar_roots:
base:
- /srv/formula/test/pillar

1
test/pillar/example.sls Symbolic link
View File

@ -0,0 +1 @@
../../pillar.example

3
test/pillar/top.sls Normal file
View File

@ -0,0 +1,3 @@
base:
'*':
- example