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