Stop uploading coverage and docs until dl.google.com issue is resolved (#10941)

https://github.com/flutter/flutter/issues/10940
This commit is contained in:
Todd Volkert 2017-06-23 13:40:38 -07:00 committed by GitHub
parent 09bdab201d
commit c79e25c5a7
3 changed files with 11 additions and 6 deletions

View File

@ -22,7 +22,8 @@ env:
before_script:
- ./dev/bots/travis_setup.sh
script:
- (./bin/cache/dart-sdk/bin/dart ./dev/bots/test.dart && ./dev/bots/travis_upload.sh)
# TODO(tvolkert): Re-enable `&& ./dev/bots/travis_upload.sh`
- (./bin/cache/dart-sdk/bin/dart ./dev/bots/test.dart)
cache:
directories:
- $HOME/.pub-cache

View File

@ -5,10 +5,11 @@ echo $KEY_FILE | base64 --decode > ../gcloud_key_file.json
set -x
if [ -n "$TRAVIS" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
export CLOUDSDK_CORE_DISABLE_PROMPTS=1
curl https://sdk.cloud.google.com | bash
fi
# 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
# disable analytics on the bots and download Flutter dependencies
./bin/flutter config --no-analytics

View File

@ -6,7 +6,10 @@ export PATH="$PWD/bin:$PWD/bin/cache/dart-sdk/bin:$PATH"
LCOV_FILE=./packages/flutter/coverage/lcov.info
if [ "$SHARD" = "coverage" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ] && [ -f "$LCOV_FILE" ]; then
if [ "$SHARD" = "coverage" ] && \
[ "$TRAVIS_PULL_REQUEST" = "false" ] && \
[ "$TRAVIS_BRANCH" = "master" ] && \
[ -f "$LCOV_FILE" ]; then
GSUTIL=$HOME/google-cloud-sdk/bin/gsutil
GCLOUD=$HOME/google-cloud-sdk/bin/gcloud