Skip to content

Commit cdd298b

Browse files
staticfloattkelman
authored andcommitted
Update CI URLs to point to new caching infrastructure (JuliaStats#253)
(cherry picked from commit 4d7bdf9)
1 parent 764d794 commit cdd298b

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

appveyor.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
environment:
22
matrix:
3-
- JULIAVERSION: "julialang/bin/winnt/x86/0.4/julia-0.4-latest-win32.exe"
4-
- JULIAVERSION: "julialang/bin/winnt/x64/0.4/julia-0.4-latest-win64.exe"
5-
- JULIAVERSION: "julialang/bin/winnt/x86/0.5/julia-0.5-latest-win32.exe"
6-
- JULIAVERSION: "julialang/bin/winnt/x64/0.5/julia-0.5-latest-win64.exe"
7-
- JULIAVERSION: "julianightlies/bin/winnt/x86/julia-latest-win32.exe"
8-
- 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"
97

108
branches:
119
only:
@@ -20,14 +18,15 @@ notifications:
2018
on_build_status_changed: false
2119

2220
install:
21+
- ps: "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12"
2322
# if there's a newer build queued for the same PR, cancel this one
2423
- ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
2524
https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | `
2625
Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
2726
throw "There are newer queued builds for this pull request, failing early." }
2827
# Download most recent Julia Windows binary
2928
- ps: (new-object net.webclient).DownloadFile(
30-
$("http://s3.amazonaws.com/"+$env:JULIAVERSION),
29+
$env:JULIA_URL,
3130
"C:\projects\julia-binary.exe")
3231
# Run installer silently, output to C:\projects\julia
3332
- C:\projects\julia-binary.exe /S /D=C:\projects\julia

0 commit comments

Comments
 (0)