Only download cloud SDK if we need it on Travis
This commit is contained in:
parent
c12c179a72
commit
4be730ac9a
@ -5,8 +5,10 @@ echo $KEY_FILE | base64 --decode > ../gcloud_key_file.json
|
|||||||
|
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
export CLOUDSDK_CORE_DISABLE_PROMPTS=1
|
if [ -n "$TRAVIS" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
||||||
curl https://sdk.cloud.google.com | bash
|
export CLOUDSDK_CORE_DISABLE_PROMPTS=1
|
||||||
|
curl https://sdk.cloud.google.com | bash
|
||||||
|
fi
|
||||||
|
|
||||||
# disable analytics on the bots and download Flutter dependencies
|
# disable analytics on the bots and download Flutter dependencies
|
||||||
./bin/flutter config --no-analytics
|
./bin/flutter config --no-analytics
|
||||||
|
Loading…
x
Reference in New Issue
Block a user