Skip to content

Commit a661a39

Browse files
tvolkertgspencergoog
authored andcommitted
Stop uploading coverage and docs until dl.google.com issue is resolved (flutter#10941)
flutter#10940
1 parent 118cbbe commit a661a39

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ env:
2222
before_script:
2323
- ./dev/bots/travis_setup.sh
2424
script:
25-
- (./bin/cache/dart-sdk/bin/dart ./dev/bots/test.dart && ./dev/bots/travis_upload.sh)
25+
# TODO(tvolkert): Re-enable `&& ./dev/bots/travis_upload.sh`
26+
- (./bin/cache/dart-sdk/bin/dart ./dev/bots/test.dart)
2627
cache:
2728
directories:
2829
- $HOME/.pub-cache

dev/bots/travis_setup.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ echo $KEY_FILE | base64 --decode > ../gcloud_key_file.json
55

66
set -x
77

8-
if [ -n "$TRAVIS" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
9-
export CLOUDSDK_CORE_DISABLE_PROMPTS=1
10-
curl https://sdk.cloud.google.com | bash
11-
fi
8+
# TODO(tvolkert): Re-enable once this is able to successfully run on Travis
9+
#if [ -n "$TRAVIS" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
10+
# export CLOUDSDK_CORE_DISABLE_PROMPTS=1
11+
# curl https://sdk.cloud.google.com | bash
12+
#fi
1213

1314
# disable analytics on the bots and download Flutter dependencies
1415
./bin/flutter config --no-analytics

dev/bots/travis_upload.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ export PATH="$PWD/bin:$PWD/bin/cache/dart-sdk/bin:$PATH"
66

77
LCOV_FILE=./packages/flutter/coverage/lcov.info
88

9-
if [ "$SHARD" = "coverage" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ] && [ -f "$LCOV_FILE" ]; then
9+
if [ "$SHARD" = "coverage" ] && \
10+
[ "$TRAVIS_PULL_REQUEST" = "false" ] && \
11+
[ "$TRAVIS_BRANCH" = "master" ] && \
12+
[ -f "$LCOV_FILE" ]; then
1013
GSUTIL=$HOME/google-cloud-sdk/bin/gsutil
1114
GCLOUD=$HOME/google-cloud-sdk/bin/gcloud
1215

0 commit comments

Comments
 (0)