bump vault and install on darwin

This commit is contained in:
Alex Dadgar 2017-10-21 16:08:22 -07:00
parent 9c1d17c242
commit 17928aaf51
3 changed files with 13 additions and 5 deletions

View file

@ -34,8 +34,8 @@ cache:
- ui/node_modules - ui/node_modules
before_install: before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo bash ./scripts/travis-mac-priv.sh ; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo -E bash ./scripts/travis-mac-priv.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo bash ./scripts/travis-linux.sh ; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo -E bash ./scripts/travis-linux.sh ; fi
install: install:
- make bootstrap - make bootstrap

View file

@ -3,7 +3,11 @@
set -o errexit set -o errexit
VERSION=1.0.0 VERSION=1.0.0
DOWNLOAD=https://releases.hashicorp.com/consul/${VERSION}/consul_${VERSION}_linux_amd64.zip OS="linux"
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
OS="darwin"
fi
DOWNLOAD=https://releases.hashicorp.com/consul/${VERSION}/consul_${VERSION}_${OS}_amd64.zip
function install_consul() { function install_consul() {
if [[ -e /usr/bin/consul ]] ; then if [[ -e /usr/bin/consul ]] ; then

View file

@ -2,8 +2,12 @@
set -o errexit set -o errexit
VERSION=0.7.0 VERSION=0.8.3
DOWNLOAD=https://releases.hashicorp.com/vault/${VERSION}/vault_${VERSION}_linux_amd64.zip OS="linux"
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
OS="darwin"
fi
DOWNLOAD=https://releases.hashicorp.com/vault/${VERSION}/vault_${VERSION}_${OS}_amd64.zip
function install_vault() { function install_vault() {
if [[ -e /usr/bin/vault ]] ; then if [[ -e /usr/bin/vault ]] ; then