Commit 4be730ac authored by Adam Barth's avatar Adam Barth

Only download cloud SDK if we need it on Travis

parent c12c179a
......@@ -5,8 +5,10 @@ echo $KEY_FILE | base64 --decode > ../gcloud_key_file.json
set -x
export CLOUDSDK_CORE_DISABLE_PROMPTS=1
curl https://sdk.cloud.google.com | bash
if [ -n "$TRAVIS" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
export CLOUDSDK_CORE_DISABLE_PROMPTS=1
curl https://sdk.cloud.google.com | bash
fi
# disable analytics on the bots and download Flutter dependencies
./bin/flutter config --no-analytics
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment