Skip to content

Commit 6b63242

Browse files
committed
Merge pull request #121 from davidanthoff/appveyor
Add appveyor testing
2 parents 05b4509 + 0aa8b7a commit 6b63242

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

appveyor.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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: "julianightlies/bin/winnt/x86/julia-latest-win32.exe"
6+
- JULIAVERSION: "julianightlies/bin/winnt/x64/julia-latest-win64.exe"
7+
8+
branches:
9+
only:
10+
- master
11+
- /release-.*/
12+
13+
notifications:
14+
- provider: Email
15+
on_build_success: false
16+
on_build_failure: false
17+
on_build_status_changed: false
18+
19+
install:
20+
# Download most recent Julia Windows binary
21+
- ps: (new-object net.webclient).DownloadFile(
22+
$("http://s3.amazonaws.com/"+$env:JULIAVERSION),
23+
"C:\projects\julia-binary.exe")
24+
- ps: (new-object net.webclient).DownloadFile(
25+
"https://download.microsoft.com/download/D/7/B/D7BBA00F-71B7-436B-80BC-4D22F2EE9862/MSMpiSetup.exe",
26+
"C:\projects\MSMpiSetup.exe")
27+
# Run installer silently, output to C:\projects\julia
28+
- C:\projects\julia-binary.exe /S /D=C:\projects\julia
29+
- C:\projects\MSMpiSetup.exe -unattend -minimal
30+
- set PATH=C:\Program Files\Microsoft MPI\Bin;%PATH%
31+
32+
build_script:
33+
# Need to convert from shallow to complete for Pkg.clone to work
34+
- IF EXIST .git\shallow (git fetch --unshallow)
35+
- C:\projects\julia\bin\julia -e "versioninfo();
36+
Pkg.clone(pwd(), \"MPI\"); Pkg.build(\"MPI\")"
37+
38+
test_script:
39+
- C:\projects\julia\bin\julia --check-bounds=yes -e "Pkg.test(\"MPI\")"

0 commit comments

Comments
 (0)