appveyor: Wrap handle.exe download in a retry

Should help deal with spurious download failures.
This commit is contained in:
Alex Crichton 2017-05-14 12:41:42 -07:00
parent 77f1bec6f5
commit 7644508b4e
1 changed files with 2 additions and 2 deletions

View File

@ -141,9 +141,9 @@ install:
- set PATH="C:\Program Files (x86)\Inno Setup 5";%PATH%
# Help debug some handle issues on AppVeyor
- ps: Invoke-WebRequest -Uri https://download.sysinternals.com/files/Handle.zip -OutFile handle.zip
- appveyor-retry appveyor DownloadFile https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-05-15-Handle.zip
- mkdir handle
- ps: Expand-Archive handle.zip -dest handle
- 7z x -ohandle 2017-05-15-Handle.zip
- set PATH=%PATH%;%CD%\handle
- handle.exe -accepteula -help