Move env variables and use sudo -E
This commit is contained in:
parent
6f1a6f9a0a
commit
2ca83d04da
|
@ -2,9 +2,14 @@ language: python
|
||||||
python:
|
python:
|
||||||
- '2.7'
|
- '2.7'
|
||||||
|
|
||||||
|
env:
|
||||||
|
global:
|
||||||
|
- BS_PIP_ALLOWED=1
|
||||||
|
- BS_ECHO_DEBUG=1
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
- curl -L http://bootstrap.saltstack.org | sudo BS_PIP_ALLOWED=1 BS_ECHO_DEBUG=1 sh -s -- stable
|
- curl -L http://bootstrap.saltstack.org | sudo -E sh -s -- stable
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- sudo mkdir -p /srv && sudo ln -sfn $PWD /srv/formula
|
- sudo mkdir -p /srv && sudo ln -sfn $PWD /srv/formula
|
||||||
|
|
Loading…
Reference in New Issue