-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
52 lines (50 loc) · 1.96 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
language: julia
os:
- linux
- osx
julia:
- nightly
- 0.5
environment:
matrix:
- JULIAVERSION: "julialang/bin/winnt/x86/0.5/julia-0.5-latest-win32.exe"
- JULIAVERSION: "julialang/bin/winnt/x64/0.5/julia-0.5-latest-win64.exe"
- JULIAVERSION: "julianightlies/bin/winnt/x86/julia-latest-win32.exe"
- JULIAVERSION: "julianightlies/bin/winnt/x64/julia-latest-win64.exe"
matrix:
allow_failures:
- julia: nightly
- JULIAVERSION: "julianightlies/bin/winnt/x86/julia-latest-win32.exe"
- JULIAVERSION: "julianightlies/bin/winnt/x64/julia-latest-win64.exe"
branches:
only:
- master
- /release-.*/
notifications:
- provider: Email
on_build_success: false
on_build_failure: false
on_build_status_changed: false
script:
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'Pkg.init(); Pkg.clone("https://github.com/JuliaArbTypes/ArbDecimals.jl")'
- julia -e 'Pkg.test("ArbDecimals",coverage=true)'
after_success:
- julia -e 'Pkg.clone("https://github.com/MichaelHatherly/Documenter.jl")'
- julia -e 'cd(Pkg.dir("ArbDecimals")); include(joinpath("docs", "make.jl"))'
- julia -e 'cd(Pkg.dir("ArbDecimals")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
- julia -e 'cd(Pkg.dir("ArbDecimals")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder())'
install:
# Download most recent Julia Windows binary
- ps: (new-object net.webclient).DownloadFile(
$("http://s3.amazonaws.com/"+$env:JULIAVERSION),
"C:\projects\julia-binary.exe")
# Run installer silently, output to C:\projects\julia
- C:\projects\julia-binary.exe /S /D=C:\projects\julia
build_script:
# Need to convert from shallow to complete for Pkg.clone to work
- IF EXIST .git\shallow (git fetch --unshallow)
- C:\projects\julia\bin\julia -e "versioninfo();
Pkg.clone(pwd(), \"ArbDecimals\"); Pkg.build(\"ArbDecimals\")"
test_script:
- C:\projects\julia\bin\julia -e "Pkg.test(\"ArbDecimals\")"