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:
parent
09bdab201d
commit
c79e25c5a7
@ -22,7 +22,8 @@ env:
|
|||||||
before_script:
|
before_script:
|
||||||
- ./dev/bots/travis_setup.sh
|
- ./dev/bots/travis_setup.sh
|
||||||
script:
|
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:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- $HOME/.pub-cache
|
- $HOME/.pub-cache
|
||||||
|
@ -5,10 +5,11 @@ echo $KEY_FILE | base64 --decode > ../gcloud_key_file.json
|
|||||||
|
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
if [ -n "$TRAVIS" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
# TODO(tvolkert): Re-enable once this is able to successfully run on Travis
|
||||||
export CLOUDSDK_CORE_DISABLE_PROMPTS=1
|
#if [ -n "$TRAVIS" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
||||||
curl https://sdk.cloud.google.com | bash
|
# export CLOUDSDK_CORE_DISABLE_PROMPTS=1
|
||||||
fi
|
# curl https://sdk.cloud.google.com | bash
|
||||||
|
#fi
|
||||||
|
|
||||||
# disable analytics on the bots and download Flutter dependencies
|
# disable analytics on the bots and download Flutter dependencies
|
||||||
./bin/flutter config --no-analytics
|
./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
|
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
|
GSUTIL=$HOME/google-cloud-sdk/bin/gsutil
|
||||||
GCLOUD=$HOME/google-cloud-sdk/bin/gcloud
|
GCLOUD=$HOME/google-cloud-sdk/bin/gcloud
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user