Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
7f0b908d
Commit
7f0b908d
authored
Feb 14, 2017
by
Adam Barth
Committed by
GitHub
Feb 14, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't upload lcov to coveralls for pull requests (#8143)
parent
c2eb7349
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
docs.sh
dev/bots/docs.sh
+3
-5
travis_upload.sh
dev/bots/travis_upload.sh
+3
-3
No files found.
dev/bots/docs.sh
View file @
7f0b908d
...
@@ -15,9 +15,7 @@ cp dev/docs/google2ed1af765c529f57.html dev/docs/doc
...
@@ -15,9 +15,7 @@ cp dev/docs/google2ed1af765c529f57.html dev/docs/doc
# Upload new API docs when on Travis and branch is master
# Upload new API docs when on Travis and branch is master
if
[
"
$TRAVIS_PULL_REQUEST
"
=
"false"
]
;
then
if
[
"
$TRAVIS_PULL_REQUEST
"
=
"false"
]
&&
[
"
$TRAVIS_BRANCH
"
=
"master"
]
;
then
if
[
"
$TRAVIS_BRANCH
"
=
"master"
]
;
then
cd
dev/docs
cd
dev/docs
firebase deploy
--project
docs-flutter-io
firebase deploy
--project
docs-flutter-io
fi
fi
fi
dev/bots/travis_upload.sh
View file @
7f0b908d
...
@@ -6,16 +6,16 @@ export PATH="$PWD/bin:$PWD/bin/cache/dart-sdk/bin:$PATH"
...
@@ -6,16 +6,16 @@ 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
[
-n
"
$TRAVIS
"
]
&&
[
"
$TRAVIS_PULL_REQUEST
"
==
"false"
]
&&
[
-a
"
$LCOV_FILE
"
]
;
then
if
[
"
$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
$GCLOUD
auth activate-service-account
--key-file
../gcloud_key_file.json
$GCLOUD
auth activate-service-account
--key-file
../gcloud_key_file.json
STORAGE_URL
=
gs://flutter_infra/flutter/coverage/lcov.info
STORAGE_URL
=
gs://flutter_infra/flutter/coverage/lcov.info
$GSUTIL
cp
$LCOV_FILE
$STORAGE_URL
$GSUTIL
cp
$LCOV_FILE
$STORAGE_URL
(
cd
packages/flutter
&&
coveralls-lcov coverage/lcov.info
)
fi
fi
# generate the API docs, upload them
# generate the API docs, upload them
./dev/bots/docs.sh
./dev/bots/docs.sh
(
cd
packages/flutter
&&
coveralls-lcov coverage/lcov.info
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment