rsyncd-formula/.travis.yml

28 lines
711 B
YAML

language: python
python:
- '2.7'
env:
global:
- BS_PIP_ALLOWED=1
- BS_ECHO_DEBUG=1
matrix:
- STATE=rsyncd
- STATE=rsyncd.config
before_install:
- sudo apt-get update
- curl -L http://bootstrap.saltstack.org | sudo -E sh -s -- stable
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_sls $STATE --local --retcode-passthrough --config-dir=test/etc
- sudo salt-call state.sls $STATE --local --retcode-passthrough --config-dir=test/etc
- cat /etc/default/rsync
- cat /etc/rsyncd.conf