mirror of
https://github.com/saltstack-formulas/rsyncd-formula.git
synced 2024-11-27 23:07:56 +01:00
25 lines
654 B
YAML
25 lines
654 B
YAML
language: python
|
|
python:
|
|
- '2.7'
|
|
|
|
env:
|
|
global:
|
|
- BS_PIP_ALLOWED=1
|
|
- BS_ECHO_DEBUG=1
|
|
|
|
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_highstate --local --retcode-passthrough --config-dir=test/etc
|
|
- sudo salt-call state.highstate --local --retcode-passthrough --config-dir=test/etc
|
|
- cat /etc/default/rsync
|
|
- cat /etc/rsyncd.conf
|