Skip to content

Commit 533a549

Browse files
staticfloattkelman
authored andcommitted
Update CI URLs to point to new caching infrastructure (#28)
1 parent 6b686c0 commit 533a549

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

appveyor.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
environment:
22
matrix:
3-
- JULIAVERSION: "julialang/bin/winnt/x86/0.5/julia-0.5-latest-win32.exe"
4-
- JULIAVERSION: "julialang/bin/winnt/x64/0.5/julia-0.5-latest-win64.exe"
5-
- JULIAVERSION: "julianightlies/bin/winnt/x86/julia-latest-win32.exe"
6-
- JULIAVERSION: "julianightlies/bin/winnt/x64/julia-latest-win64.exe"
3+
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.5/julia-0.5-latest-win32.exe"
4+
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.5/julia-0.5-latest-win64.exe"
5+
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x86/julia-latest-win32.exe"
6+
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x64/julia-latest-win64.exe"
77

88
branches:
99
only:
@@ -17,14 +17,15 @@ notifications:
1717
on_build_status_changed: false
1818

1919
install:
20+
- ps: "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12"
2021
# If there's a newer build queued for the same PR, cancel this one
2122
- ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
2223
https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | `
2324
Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
2425
throw "There are newer queued builds for this pull request, failing early." }
2526
# Download most recent Julia Windows binary
2627
- ps: (new-object net.webclient).DownloadFile(
27-
$("http://s3.amazonaws.com/"+$env:JULIAVERSION),
28+
$env:JULIA_URL,
2829
"C:\projects\julia-binary.exe")
2930
# Run installer silently, output to C:\projects\julia
3031
- C:\projects\julia-binary.exe /S /D=C:\projects\julia

0 commit comments

Comments
 (0)