pinch-dotfiles/.travis.yml
2017-03-04 10:50:08 -05:00

37 lines
816 B
YAML

language: python
matrix:
include:
- os: linux
dist: trusty
sudo: required
python: 3.2
include:
- os: linux
dist: trusty
sudo: required
python: 2.7
include:
- os: osx
osx_image: xcode7.2
sudo: required
python: 3.2
include:
- os: osx
osx_image: xcode7.2
sudo: required
python: 2.7
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
- sudo service salt-minion restart
- sudo sh .travis/grains.sh
script:
- sudo salt-call --local --config=./ --state-output=changes --log-level=quiet --retcode-passthrough state.apply