pinch-dotfiles/.travis.yml

23 lines
590 B
YAML
Raw Normal View History

2017-03-04 03:06:23 +00:00
sudo: required
language: python
python:
- '2.7'
2017-03-04 03:35:52 +00:00
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/minion /etc/salt/minion
2017-03-04 03:35:52 +00:00
- sudo service salt-minion restart
# See what kind of travis box you're on
# to help with making your states compatible with travis
- sudo sh .travis/grains.sh
2017-03-04 03:35:52 +00:00
script:
2017-03-04 04:03:44 +00:00
- sudo salt-call --local --config=./ --state-output=changes --log-level=quiet state.apply