11environment :
22 matrix :
3- - JULIA_URL : " https://julialang-s3.julialang.org/bin/winnt/x86/0.6/julia-0.6-latest-win32.exe"
4- - JULIA_URL : " https://julialang-s3.julialang.org/bin/winnt/x64/0.6/julia-0.6-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"
3+ - julia_version : 0.7
4+ - julia_version : 1
5+ - julia_version : nightly
6+
7+ platform :
8+ - x86 # 32-bit
9+ - x64 # 64-bit
10+
11+ matrix :
12+ allow_failures :
13+ - julia_version : nightly
714
815branches :
916 only :
1017 - master
1118 - /release-.*/
1219
13- skip_commits :
14- message : /\[av skip\]/
15-
1620notifications :
1721 - provider : Email
1822 on_build_success : false
1923 on_build_failure : false
2024 on_build_status_changed : false
2125
2226install :
23- - ps : " [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12"
24- # If there's a newer build queued for the same PR, cancel this one
25- - ps : if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
26- https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | `
27- Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
28- throw "There are newer queued builds for this pull request, failing early." }
29- # Download most recent Julia Windows binary
30- - ps : (new-object net.webclient).DownloadFile(
31- $env:JULIA_URL,
32- " C:\p rojects\j ulia-binary.exe" )
33- # Run installer silently, output to C:\projects\julia
34- - C:\projects\julia-binary.exe /S /D=C:\projects\julia
27+ - ps : iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1"))
3528
3629build_script :
37- # Need to convert from shallow to complete for Pkg.clone to work
38- - IF EXIST .git\shallow (git fetch --unshallow)
39- - C:\projects\julia\bin\julia -e "versioninfo();
40- Pkg.clone(pwd(), \"Git\"); Pkg.build(\"Git\")"
30+ - echo "%JL_BUILD_SCRIPT%"
31+ - C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%"
4132
4233test_script :
43- - C:\projects\julia\bin\julia --check-bounds=yes -e "Pkg.test(\"Git\")"
34+ - echo "%JL_TEST_SCRIPT%"
35+ - C:\julia\bin\julia -e "%JL_TEST_SCRIPT%"
36+
37+ # Uncomment to support code coverage upload. Should only be enabled for packages
38+ # which would have coverage gaps without running on Windows
39+ on_success :
40+ - echo "%JL_CODECOV_SCRIPT%"
41+ - C:\julia\bin\julia -e "%JL_CODECOV_SCRIPT%"
0 commit comments