Skip to content

Commit f36b8b3

Browse files
committed
Update appveyor.yml
1 parent b17bb31 commit f36b8b3

File tree

1 file changed

+32
-15
lines changed

1 file changed

+32
-15
lines changed

appveyor.yml

Lines changed: 32 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,42 @@
11
environment:
22
matrix:
3-
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/1.2/julia-1.2-latest-win64.exe"
4-
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x64/julia-latest-win64.exe"
3+
- julia_version: 1
4+
- julia_version: nightly
55

6+
platform:
7+
- x86 # 32-bit
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)
612
matrix:
7-
allow_failures:
8-
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x64/julia-latest-win64.exe"
13+
allow_failures:
14+
- julia_version: nightly
15+
16+
branches:
17+
only:
18+
- master
19+
- /release-.*/
20+
21+
notifications:
22+
- provider: Email
23+
on_build_success: false
24+
on_build_failure: false
25+
on_build_status_changed: false
926

1027
install:
11-
- ps: "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12"
12-
# Download most recent Julia Windows binary
13-
- ps: (new-object net.webclient).DownloadFile(
14-
$env:JULIA_URL,
15-
"C:\projects\julia-binary.exe")
16-
# Run installer silently, output to C:\projects\julia
17-
- 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"))
1829

1930
build_script:
20-
# Need to convert from shallow to complete for Pkg.clone to work
21-
- IF EXIST .git\shallow (git fetch --unshallow)
22-
- C:\projects\julia\bin\julia -e "versioninfo(); Pkg.init(); Pkg.clone(pwd(), \"SimJulia\")"
31+
- echo "%JL_BUILD_SCRIPT%"
32+
- C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%"
2333

2434
test_script:
25-
- C:\projects\julia\bin\julia test\runtests.jl
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

Comments
 (0)