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

if [ $TRAVIS_PULL_REQUEST = "false" ]; then
  echo $KEY_FILE | base64 --decode > gcloud_key_file.json
fi

set -x
9

10
dart dev/update_packages.dart
11
(cd packages/flutter; ../../bin/flutter cache populate)
12 13 14 15 16

if [ $TRAVIS_PULL_REQUEST = "false" ]; then
  export CLOUDSDK_CORE_DISABLE_PROMPTS=1
  curl https://sdk.cloud.google.com | bash
fi