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