blob: 4eb06c2d588ade156b6a1fb2d09aba15bd1f9b78 [file] [log] [blame]
#!/bin/bash
set -e
if [ $TRAVIS_PULL_REQUEST = "false" ]; then
echo $KEY_FILE | base64 --decode > gcloud_key_file.json
fi
set -x
# Download dependencies flutter
./bin/flutter --version
./bin/cache/dart-sdk/bin/dart ./dev/update_packages.dart
if [ $TRAVIS_PULL_REQUEST = "false" ]; then
export CLOUDSDK_CORE_DISABLE_PROMPTS=1
curl https://sdk.cloud.google.com | bash
fi