summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Schuberth <sschuberth@gmail.com>2016-05-25 12:10:44 +0200
committerSebastian Schuberth <sschuberth@gmail.com>2016-05-25 12:10:44 +0200
commit247665ed511f331bbc81e185edab9b66b033f7d4 (patch)
treebf9038aa6b1c1e12456d8247090ecd38d770d159
parentc756448cefdf7369f30c45e9427ad5ba67e33483 (diff)
downloadlibgit2-247665ed511f331bbc81e185edab9b66b033f7d4.tar.gz
Use AppVeyor's Start-FileDownload cmdlet
Start-FileDownload maintains current directory context and allows specifying a request timeout, see [1]. [1] https://www.appveyor.com/docs/how-to/download-file#start-filedownload-cmdlet
-rw-r--r--appveyor.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 4f51aa89c..9e94c0726 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -33,7 +33,7 @@ build_script:
test_script:
- ps: |
$ErrorActionPreference="Stop"
- Invoke-WebRequest https://github.com/ethomson/poxyproxy/releases/download/v0.1.0/poxyproxy-0.1.0.jar -OutFile poxyproxy.jar
+ Start-FileDownload https://github.com/ethomson/poxyproxy/releases/download/v0.1.0/poxyproxy-0.1.0.jar -FileName poxyproxy.jar
# Run this early so we know it's ready by the time we need it
$proxyJob = Start-Job { java -jar $Env:APPVEYOR_BUILD_FOLDER\build\poxyproxy.jar -d --port 8080 --credentials foo:bar }
ctest -V -R libgit2_clar