setup.sh 415 Bytes
Newer Older
1
#!/bin/bash
2 3 4 5 6 7
set -e

echo $KEY_FILE | base64 --decode > ../gcloud_key_file.json

set -x

8 9 10 11
if [ -n "$TRAVIS" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
  export CLOUDSDK_CORE_DISABLE_PROMPTS=1
  curl https://sdk.cloud.google.com | bash
fi
12

13
# disable analytics on the bots and download Flutter dependencies
14 15
./bin/flutter config --no-analytics

16
# run pub get in all the repo packages
17
./bin/flutter update-packages