split privilidged calls to two scripts

This commit is contained in:
Alex Dadgar
2017-10-19 10:03:56 -07:00
parent a00636e355
commit 015fe02116
3 changed files with 5 additions and 2 deletions

View File

@@ -35,6 +35,7 @@ cache:
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo bash ./scripts/travis-mac.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo bash ./scripts/travis-mac-priv.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo bash ./scripts/travis-linux.sh ; fi
install:

4
scripts/travis-mac-priv.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/usr/bin/env bash
bash ./scripts/travis-consul.sh
bash ./scripts/travis-vault.sh

View File

@@ -1,5 +1,3 @@
#!/usr/bin/env bash
brew upgrade golang
bash ./scripts/travis-consul.sh
bash ./scripts/travis-vault.sh