Skip to content

Commit 9945b2f

Browse files
committed
update appveyor
1 parent 39b4918 commit 9945b2f

File tree

1 file changed

+11
-16
lines changed

1 file changed

+11
-16
lines changed

appveyor.yml

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
environment:
22
matrix:
3-
#- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.4/julia-0.4-latest-win32.exe"
4-
#- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.4/julia-0.4-latest-win64.exe"
5-
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.5/julia-0.5-latest-win32.exe"
6-
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.5/julia-0.5-latest-win64.exe"
3+
- julia_version: 0.7
4+
- julia_version: latest
5+
6+
platform:
7+
- x86
8+
- x64
79

810
notifications:
911
- provider: Email
@@ -12,19 +14,12 @@ notifications:
1214
on_build_status_changed: false
1315

1416
install:
15-
- ps: "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12"
16-
# Download most recent Julia Windows binary
17-
- ps: (new-object net.webclient).DownloadFile(
18-
$env:JULIA_URL,
19-
"C:\projects\julia-binary.exe")
20-
# Run installer silently, output to C:\projects\julia
21-
- C:\projects\julia-binary.exe /S /D=C:\projects\julia
17+
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/master/bin/install.ps1'))
2218

2319
build_script:
24-
# Need to convert from shallow to complete for Pkg.clone to work
25-
- IF EXIST .git\shallow (git fetch --unshallow)
26-
- C:\projects\julia\bin\julia -e "versioninfo();
27-
Pkg.clone(pwd(), \"SweepOperator\"); Pkg.build(\"SweepOperator\")"
20+
- echo "%JL_BUILD_SCRIPT%"
21+
- julia -e "%JL_BUILD_SCRIPT%"
2822

2923
test_script:
30-
- C:\projects\julia\bin\julia -e "Pkg.test(\"SweepOperator\")"
24+
- echo "%JL_TEST_SCRIPT%"
25+
- julia -e "%JL_TEST_SCRIPT%"

0 commit comments

Comments
 (0)