Re-enable doc uploading on Travis (#11118)

https://github.com/flutter/flutter/issues/10940
This commit is contained in:
Todd Volkert
2017-07-07 15:36:36 -07:00
committed by GitHub
parent d96614760b
commit 63d250061d
2 changed files with 6 additions and 7 deletions

View File

@@ -5,11 +5,10 @@ echo $KEY_FILE | base64 --decode > ../gcloud_key_file.json
set -x
# TODO(tvolkert): Re-enable once this is able to successfully run on Travis
#if [ -n "$TRAVIS" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
# export CLOUDSDK_CORE_DISABLE_PROMPTS=1
# curl https://sdk.cloud.google.com | bash
#fi
if [ -n "$TRAVIS" ]; 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