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
1c5ed961
Unverified
Commit
1c5ed961
authored
Feb 06, 2018
by
xster
Committed by
GitHub
Feb 06, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't install google could sdk on Travis when not needed (#14481)
parent
2e80bf1d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
travis_setup.sh
dev/bots/travis_setup.sh
+8
-4
No files found.
dev/bots/travis_setup.sh
View file @
1c5ed961
...
...
@@ -6,11 +6,15 @@ echo $KEY_FILE | base64 --decode > ../gcloud_key_file.json
set
-x
if
[
-n
"
$TRAVIS
"
]
;
then
# Only used to upload docs. Don't install gcloud SDK otherwise.
if
[
"
$TRAVIS_OS_NAME
"
=
"linux"
]
&&
[
"
$SHARD
"
=
"docs"
]
;
then
export
CLOUDSDK_CORE_DISABLE_PROMPTS
=
1
echo
"Installing Google Cloud SDK..."
curl https://sdk.cloud.google.com | bash
>
/dev/null
echo
"Google Cloud SDK installation completed."
fi
# Android SDK only needed to build the gallery on build_and_deploy_gallery Linux shard.
if
[
"
$TRAVIS_OS_NAME
"
=
"linux"
]
&&
[
"
$SHARD
"
=
"build_and_deploy_gallery"
]
;
then
# Background for not using Travis's built-in Android tags
# https://github.com/flutter/plugins/pull/145
...
...
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