mirror of
https://github.com/saltstack-formulas/rsyncd-formula.git
synced 2025-02-21 11:02:56 +01:00
Enabled travis
This commit is contained in:
parent
53b26f6a9e
commit
5e5331c68a
16
.travis.yml
Normal file
16
.travis.yml
Normal 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
7
test/etc/minion
Normal file
@ -0,0 +1,7 @@
|
||||
file_roots:
|
||||
base:
|
||||
- /srv/formula
|
||||
|
||||
pillar_roots:
|
||||
base:
|
||||
- /srv/formula/test/pillar
|
1
test/pillar/example.sls
Symbolic link
1
test/pillar/example.sls
Symbolic link
@ -0,0 +1 @@
|
||||
../../pillar.example
|
3
test/pillar/top.sls
Normal file
3
test/pillar/top.sls
Normal file
@ -0,0 +1,3 @@
|
||||
base:
|
||||
'*':
|
||||
- example
|
Loading…
x
Reference in New Issue
Block a user