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:
parent
3191886426
commit
93f9e696c5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue