-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathappveyor.yml
70 lines (63 loc) · 2.14 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
environment:
matrix:
- platform: x86
julia: 0.4
link: "julialang/bin/winnt/x86/0.4/julia-0.4-latest-win32.exe"
- platform: x86
julia: 0.5
link: "julialang/bin/winnt/x86/0.5/julia-0.5-latest-win32.exe"
- platform: x86
julia: 0.6
link: "julialang/bin/winnt/x86/0.6/julia-0.6-latest-win32.exe"
- platform: x86
julia: nightly
link: "julianightlies/bin/winnt/x86/julia-latest-win32.exe"
- platform: x64
julia: 0.4
link: "julialang/bin/winnt/x64/0.4/julia-0.4-latest-win64.exe"
- platform: x64
julia: 0.5
link: "julialang/bin/winnt/x64/0.5/julia-0.5-latest-win64.exe"
- platform: x64
julia: 0.6
link: "julialang/bin/winnt/x64/0.6/julia-0.6-latest-win64.exe"
- platform: x64
julia: nightly
link: "julianightlies/bin/winnt/x64/julia-latest-win64.exe"
matrix:
fast_finish: true
allow_failures:
- julia: nightly
notifications:
- provider: Email
on_build_success: false
on_build_failure: false
on_build_status_changed: false
install:
- ps: "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12"
- ps: (new-object net.webclient).DownloadFile(
$("http://s3.amazonaws.com/"+$env:link),
"C:\projects\julia-binary.exe")
- C:\projects\julia-binary.exe /S /D=C:\projects\julia
build_script:
- IF EXIST .git\shallow (git fetch --unshallow)
- C:\projects\julia\bin\julia -e "versioninfo();
Pkg.clone(pwd(), \"RationalFunctions\"); Pkg.build(\"RationalFunctions\")"
test_script:
- C:\projects\julia\bin\julia -e "Pkg.test(\"RationalFunctions\")"
- C:\projects\julia\bin\julia -e "Pkg.dir(\"RationalFunctions\") |> println" > folder.txt
- set /p TEST_FOLDER=<folder.txt
- move %TEST_FOLDER%\test\test-plot.png test-plot-win-%PLATFORM%-%JULIA%.png
artifacts:
path: test-plot-win-$(platform)-$(julia).png
name: test-plot
type: png
deploy:
description: $(APPVEYOR_REPO_TAG_NAME)
provider: GitHub
auth_token:
secure: +XlrRjXlE8VtzuCxQeVkctOj9XTZhZWtXVb/eHJyGMBvptlK+JUyAcfzz41NXNS1
artifact: test-plot
force_update: true
on:
appveyor_repo_tag: true