try to fix google cloud sdk install in travis config

This commit is contained in:
Cassie Tarakajian 2018-08-27 18:41:36 -04:00
parent 49ab573eff
commit cab9aa528d

View file

@ -21,7 +21,7 @@ script:
before_deploy:
- docker-compose stop
- if [ ! -d "$HOME/google-cloud-sdk/bin" ]; then rm -rf $HOME/google-cloud-sdk; export CLOUDSDK_CORE_DISABLE_PROMPTS=1; curl https://sdk.cloud.google.com | bash; fi
- if [ ! -d "$HOME/google-cloud-sdk/bin" ]; then rm -rf $HOME/google-cloud-sdk; export CLOUDSDK_CORE_DISABLE_PROMPTS=1; curl https://sdk.cloud.google.com | bash >/dev/null; fi
- source /home/travis/google-cloud-sdk/path.bash.inc
- gcloud --quiet version
- gcloud --quiet components update