Auto merge of #38907 - alexcrichton:curl-retry, r=japaric
rustbuild: Pass --retry 3 to curl Try to handle spurious network failures on Travis by automatically retrying failed downloads on Travis.
This commit is contained in:
commit
7265b93842
@ -72,7 +72,7 @@ def download(path, url, probably_big, verbose):
|
||||
option = "-#"
|
||||
else:
|
||||
option = "-s"
|
||||
run(["curl", option, "-Sf", "-o", path, url], verbose=verbose)
|
||||
run(["curl", option, "--retry", "3", "-Sf", "-o", path, url], verbose=verbose)
|
||||
|
||||
|
||||
def verify(path, sha_path, verbose):
|
||||
|
Loading…
Reference in New Issue
Block a user