Skip to content

Commit 113a6b2

Browse files
author
Xiaofeng QU
committed
Added appveyor config
Signed-off-by: Xiaofeng QU <[email protected]>
1 parent 7d71212 commit 113a6b2

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

appveyor.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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+
# Run installer silently, output to C:\projects\julia
25+
- C:\projects\julia-binary.exe /S /D=C:\projects\julia
26+
27+
build_script:
28+
# Need to convert from shallow to complete for Pkg.clone to work
29+
- IF EXIST .git\shallow (git fetch --unshallow)
30+
- C:\projects\julia\bin\julia -e "versioninfo();
31+
Pkg.clone(pwd(), \"ProjectiveDictionaryPairLearning\"); Pkg.build(\"ProjectiveDictionaryPairLearning\")"
32+
33+
test_script:
34+
- C:\projects\julia\bin\julia --check-bounds=yes -e "Pkg.test(\"ProjectiveDictionaryPairLearning\")"

0 commit comments

Comments
 (0)