mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Only upload coverage data for the test shard (#8781)
That's the only shard that computes new coverage data.
This commit is contained in:
parent
f182b9786e
commit
e8a6df4df9
@ -6,7 +6,7 @@ export PATH="$PWD/bin:$PWD/bin/cache/dart-sdk/bin:$PATH"
|
||||
|
||||
LCOV_FILE=./packages/flutter/coverage/lcov.info
|
||||
|
||||
if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ] && [ -f "$LCOV_FILE" ]; then
|
||||
if [ "$SHARD" = "tests" ] && [ "$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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user