summaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2015-11-28 19:54:03 +0000
committerChris Wilson <chris+github@qwirx.com>2015-11-28 19:54:03 +0000
commit5ed6258159d9c194012984db9ad50d7b6c2280c1 (patch)
tree6c4323b50af90bd42b9b75201511c36aad2259c8 /appveyor.yml
parent8bbb6c4e955c285b6b66f40654d4676e3df020ee (diff)
Use Start-FileDownload instead of Net.WebClient.
WebClient isn't working, so I'm trying something else. Exception calling "DownloadFile" with "2" argument(s): "The underlying connection was closed: An unexpected error occurred on a send."
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml
index beea8183..2d67b78a 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -27,7 +27,7 @@ install:
- cinst: svn
- cinst: 7zip.commandline
- cd %APPVEYOR_BUILD_FOLDER%\..
- - ps: (new-object net.webclient).DownloadFile('https://www.openssl.org/source/openssl-1.0.2d.tar.gz', 'openssl-1.0.2d.tar.gz')
+ - ps: Start-FileDownload 'https://www.openssl.org/source/openssl-1.0.2d.tar.gz'
- 7za x openssl-1.0.2d.tar.gz
- cd openssl-1.0.2d
- perl Configure debug-VC-WIN32 no-asm --prefix=%APPVEYOR_BUILD_FOLDER%\..\openssl
@@ -35,7 +35,7 @@ install:
- nmake -f ms\nt.mak
- nmake -f ms\nt.mak install
- cd %APPVEYOR_BUILD_FOLDER%\..
- - ps: (new-object net.webclient).DownloadFile('http://zlib.net/zlib128-dll.zip', 'zlib128-dll.zip')
+ - ps: Start-FileDownload 'http://zlib.net/zlib128-dll.zip'
- 7za x zlib128-dll.zip
test_script: