Move env variables and use sudo -E

This commit is contained in:
jpic 2015-05-15 00:42:55 +02:00
parent 6f1a6f9a0a
commit 2ca83d04da
1 changed files with 6 additions and 1 deletions

View File

@ -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