pinch-dotfiles/.travis.yml

33 lines
745 B
YAML
Raw Normal View History

language: python
2017-03-04 15:50:08 +00:00
matrix:
include:
- os: linux
sudo: required
python: 3.2
- os: linux
sudo: required
python: 2.7
- os: osx
osx_image: xcode7.2
sudo: required
2017-03-04 16:24:23 +00:00
python: 2.7
- os: osx
osx_image: xcode7.2
sudo: required
python: 3.2
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:
- 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
- sudo sh .travis/grains.sh
2017-03-04 03:35:52 +00:00
script:
- sudo salt-call --local --config=./ --state-output=changes --log-level=quiet --retcode-passthrough state.apply