1
1
environment :
2
2
matrix :
3
- - JULIA_URL : " https://julialang-s3.julialang.org/bin/winnt/x86/0.7/julia-0.7-latest-win32.exe"
4
- - JULIA_URL : " https://julialang-s3.julialang.org/bin/winnt/x64/0.7/julia-0.7-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 : " 1.0"
4
+ - julia_version : " 1.3"
5
+ # - julia_version: nightly
7
6
8
- matrix :
9
- allow_failures :
10
- - JULIA_URL : " https://julialang-s3.julialang.org/bin/winnt/x86/0.7/julia-0.7-latest-win32.exe"
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"
7
+ platform :
8
+ - x64 # 64-bit
9
+
10
+ # # Uncomment the following lines to allow failures on nightly julia
11
+ # # (tests will run but not make your overall status red)
12
+ # matrix:
13
+ # allow_failures:
14
+ # - julia_version: nightly
13
15
14
16
branches :
15
17
only :
@@ -23,19 +25,18 @@ notifications:
23
25
on_build_status_changed : false
24
26
25
27
install :
26
- - ps : " [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12"
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
28
+ - ps : iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1"))
33
29
34
30
build_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(), \"LIBSVM\"); Pkg.build(\"LIBSVM\")"
31
+ - echo "%JL_BUILD_SCRIPT%"
32
+ - C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%"
39
33
40
34
test_script :
41
- - C:\projects\julia\bin\julia -e "Pkg.test(\"LIBSVM\")"
35
+ - echo "%JL_TEST_SCRIPT%"
36
+ - C:\julia\bin\julia -e "%JL_TEST_SCRIPT%"
37
+
38
+ # Uncomment to support code coverage upload. Should only be enabled for packages
39
+ # which would have coverage gaps without running on Windows
40
+ on_success :
41
+ - echo "%JL_CODECOV_SCRIPT%"
42
+ - C:\julia\bin\julia -e "%JL_CODECOV_SCRIPT%"
0 commit comments