Don't upload lcov to coveralls for pull requests (#8143)

This commit is contained in:
Adam Barth
2017-02-14 10:25:02 -08:00
committed by GitHub
parent c2eb73498d
commit 7f0b908ddc
2 changed files with 6 additions and 8 deletions

View File

@@ -15,9 +15,7 @@ cp dev/docs/google2ed1af765c529f57.html dev/docs/doc
# Upload new API docs when on Travis and branch is master
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
if [ "$TRAVIS_BRANCH" = "master" ]; then
cd dev/docs
firebase deploy --project docs-flutter-io
fi
if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ]; then
cd dev/docs
firebase deploy --project docs-flutter-io
fi