1
1
environment :
2
2
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"
9
7
10
8
branches :
11
9
only :
@@ -20,14 +18,15 @@ notifications:
20
18
on_build_status_changed : false
21
19
22
20
install :
21
+ - ps : " [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12"
23
22
# if there's a newer build queued for the same PR, cancel this one
24
23
- ps : if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
25
24
https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | `
26
25
Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
27
26
throw "There are newer queued builds for this pull request, failing early." }
28
27
# Download most recent Julia Windows binary
29
28
- ps : (new-object net.webclient).DownloadFile(
30
- $("http://s3.amazonaws.com/"+$ env:JULIAVERSION) ,
29
+ $env:JULIA_URL ,
31
30
" C:\p rojects\j ulia-binary.exe" )
32
31
# Run installer silently, output to C:\projects\julia
33
32
- C:\projects\julia-binary.exe /S /D=C:\projects\julia
0 commit comments