Skip to content

Commit 0537381

Browse files
committed
Turn on CI testing for Windows
1 parent 7ec0087 commit 0537381

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

appveyor.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
environment:
2+
matrix:
3+
- JULIAVERSION: "julialang/bin/winnt/x86/0.4/julia-0.4-latest-win32.exe"
4+
- JULIAVERSION: "julialang/bin/winnt/x64/0.4/julia-0.4-latest-win64.exe"
5+
- JULIAVERSION: "julialang/bin/winnt/x86/0.5/julia-0.5-latest-win32.exe"
6+
- JULIAVERSION: "julialang/bin/winnt/x64/0.5/julia-0.5-latest-win64.exe"
7+
- JULIAVERSION: "julianightlies/bin/winnt/x86/julia-latest-win32.exe"
8+
- JULIAVERSION: "julianightlies/bin/winnt/x64/julia-latest-win64.exe"
9+
10+
branches:
11+
only:
12+
- master
13+
- /release-.*/
14+
15+
notifications:
16+
- provider: Email
17+
on_build_success: false
18+
on_build_failure: false
19+
on_build_status_changed: false
20+
21+
install:
22+
# Download most recent Julia Windows binary
23+
- ps: (new-object net.webclient).DownloadFile(
24+
$("http://s3.amazonaws.com/"+$env:JULIAVERSION),
25+
"C:\projects\julia-binary.exe")
26+
# Run installer silently, output to C:\projects\julia
27+
- C:\projects\julia-binary.exe /S /D=C:\projects\julia
28+
29+
build_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(), \"FixedPointNumbers\"); Pkg.build(\"FixedPointNumbers\")"
34+
35+
test_script:
36+
- C:\projects\julia\bin\julia -e "Pkg.test(\"FixedPointNumbers\")"

0 commit comments

Comments
 (0)