File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ matrix:
113113 - env : TARGET=x86_64-pc-windows-gnu STDSIMD_DISABLE_ASSERT_INSTR=1
114114 - env : TARGET=i686-pc-windows-gnu
115115
116- install : rustup target add $TARGET
116+ install : travis_retry rustup target add $TARGET
117117script :
118118 - cargo generate-lockfile
119119 - ci/run-docker.sh $TARGET $FEATURES
Original file line number Diff line number Diff line change 1111
1212set -ex
1313
14- curl -O \
14+ curl --retry 5 - O \
1515 https://dl.google.com/android/repository/android-ndk-r15b-linux-x86_64.zip
1616unzip -q android-ndk-r15b-linux-x86_64.zip
1717
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ set -ex
1919# which apparently magically accepts the licenses.
2020
2121mkdir sdk
22- curl https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip -O
22+ curl --retry 5 https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip -O
2323unzip -d sdk sdk-tools-linux-3859397.zip
2424
2525case " $1 " in
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ main() {
2424 apt-get install --no-install-recommends e2tools
2525
2626 pushd " $td "
27- curl -O " ${URL} /${name} "
27+ curl --retry 5 - O " ${URL} /${name} "
2828 unzip -q " ${name} "
2929
3030 local system
You can’t perform that action at this time.
0 commit comments