Commit c79e25c5 authored by Todd Volkert's avatar Todd Volkert Committed by GitHub

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

https://github.com/flutter/flutter/issues/10940
parent 09bdab20
......@@ -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
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment