pinch-dotfiles/.travis.yml

25 lines
628 B
YAML

sudo: required
language: python
python:
- '2.7'
before_install:
- sudo apt-get update
- curl -L http://bootstrap.saltstack.org | sudo sh -s -- git develop
install:
# Copy these states
- sudo mkdir -p /srv/salt/states
- sudo cp -r salty/base/* /srv/salt/states
- sudo cp -r .travis/* /etc/salt/
- sudo service salt-minion restart
# Additional debug help
#- sudo cat /var/log/salt/*
# See what kind of travis box you're on
# to help with making your states compatible with travis
- sudo sh grains.sh
script:
- sudo salt-call --local --config=./ --state-output=changes --log-level=quiet state.apply