mirror of
https://github.com/flutter/flutter
synced 2024-10-14 04:02:56 +00:00
b3815fafc3
* Don't pollute Travis log with Google Cloud SDK installation * review comments
20 lines
476 B
Bash
Executable file
20 lines
476 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
|
|
echo $KEY_FILE | base64 --decode > ../gcloud_key_file.json
|
|
|
|
set -x
|
|
|
|
if [ -n "$TRAVIS" ]; then
|
|
export CLOUDSDK_CORE_DISABLE_PROMPTS=1
|
|
echo "Installing Google Cloud SDK..."
|
|
curl https://sdk.cloud.google.com | bash > /dev/null
|
|
echo "Google Cloud SDK installation completed."
|
|
fi
|
|
|
|
# disable analytics on the bots and download Flutter dependencies
|
|
./bin/flutter config --no-analytics
|
|
|
|
# run pub get in all the repo packages
|
|
./bin/flutter update-packages
|