Skip to content

Commit 8a1076e

Browse files
committed
Auto merge of #57857 - pietroalbini:fix-android-ci, r=<try>
[WIP] Fix Android CI failing to download SDKs TODO
2 parents 6bba352 + 3f8bc7a commit 8a1076e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ matrix:
2020
if: type = pull_request OR branch = auto
2121

2222
- env: IMAGE=dist-x86_64-linux DEPLOY=1
23-
if: branch = try OR branch = auto
23+
if: branch = auto
2424

2525
# "alternate" deployments, these are "nightlies" but have LLVM assertions
2626
# turned on, they're deployed to a different location primarily for
2727
# additional testing.
2828
- env: IMAGE=dist-x86_64-linux DEPLOY_ALT=1 CI_JOB_NAME=dist-x86_64-linux-alt
29-
if: branch = try OR branch = auto
29+
if: branch = auto
3030

3131
- env: >
3232
RUST_CHECK_TARGET=dist
@@ -117,7 +117,7 @@ matrix:
117117
118118
# Linux builders, remaining docker images
119119
- env: IMAGE=arm-android
120-
if: branch = auto
120+
if: branch = auto OR branch = try
121121
- env: IMAGE=armhf-gnu
122122
if: branch = auto
123123
- env: IMAGE=dist-various-1 DEPLOY=1

src/ci/docker/scripts/android-sdk.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ download_sysimage() {
2020
# The output from sdkmanager is so noisy that it will occupy all of the 4 MB
2121
# log extremely quickly. Thus we must silence all output.
2222
yes | sdkmanager --licenses > /dev/null
23-
sdkmanager platform-tools emulator \
23+
yes | sdkmanager platform-tools emulator \
2424
"platforms;android-$api" \
2525
"system-images;android-$api;default;$abi" > /dev/null
2626
}

0 commit comments

Comments
 (0)