11environment :
22 matrix :
3- - JULIA_URL : " https://julialang-s3.julialang.org/bin/winnt/x64/0.7/julia-0.7-latest-win64.exe"
3+ - julia_version : 0.7
4+ - julia_version : 1.0
5+
6+ platform :
7+ - x64
48
59branches :
610 only :
@@ -13,24 +17,13 @@ notifications:
1317 on_build_status_changed : false
1418
1519install :
16- - ps : " [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12"
17- # If there's a newer build queued for the same PR, cancel this one
18- - ps : if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
19- https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | `
20- Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
21- throw "There are newer queued builds for this pull request, failing early." }
22- # Download most recent Julia Windows binary
23- - ps : (new-object net.webclient).DownloadFile(
24- $env:JULIA_URL,
25- " C:\p rojects\j ulia-binary.exe" )
26- # Run installer silently, output to C:\projects\julia
27- - C:\projects\julia-binary.exe /S /D=C:\projects\julia
20+ - ps : iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1"))
2821
2922build_script :
30- # Need to convert from shallow to complete for Pkg.clone to work
31- - IF EXIST .git\shallow (git fetch --unshallow)
32- - C:\projects\julia\bin\julia -e "versioninfo();
33- Pkg.clone(pwd(), \"TeaSeis\"); Pkg.build(\"TeaSeis\")"
23+ - echo "%JL_BUILD_SCRIPT%"
24+ - C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%"
3425
3526test_script :
36- - C:\projects\julia\bin\julia -e "Pkg.test(\"TeaSeis\")"
27+ - echo "%JL_TEST_SCRIPT%"
28+ - C:\julia\bin\julia -e "%JL_TEST_SCRIPT%"
29+
0 commit comments