forked from goodrain/rainbond-install
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (24 loc) · 818 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
language: python
python:
- '2.7'
env:
global:
- BS_PIP_ALLOWED=1
- BS_ECHO_DEBUG=1
- SALT_ARGS="-l debug --local --retcode-passthrough --pillar-root=test/pillar --file-root=$PWD/tests"
matrix:
- STATE=etcd.install
before_install:
- sudo apt-get update
- curl -L http://bootstrap.saltstack.org | sudo sh -E -s -- -P stable
install:
- sudo mkdir -p /srv && sudo ln -sfn $PWD/tests /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
# 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 -E salt-call state.show_sls $STATE $SALT_ARGS
- sudo salt-call state.sls $STATE $SALT_ARGS