-
Notifications
You must be signed in to change notification settings - Fork 7
/
appveyor.yml
67 lines (58 loc) · 1.73 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
version: 1.0.0.{build}
image: Visual Studio 2017
branches:
only:
- master
skip_branch_with_pr: true
environment:
github_access_token:
secure: xk63OYn2rvSU9xVL/joe36flgZbk9YWr+ptNVVqHR+uensskdb7puc7bG3xBO75V
github_email:
secure: mg8/u955wiAtLkwq6JZ/22mztHmzPrLcgSlW/PkFVgU=
codecov_token:
secure: KSzQogKvg4E6qxlcUDOdiRspPlbrAs+cj/w1fElIQe9vwRGF18Rehk8o6HmRyVIm
matrix:
- target_framework: netcoreapp2.1
is_32bit: False
- target_framework: netcoreapp2.1
is_32bit: True
- target_framework: net472
is_32bit: False
- target_framework: net472
is_32bit: True
- target_framework: net462
is_32bit: False
- target_framework: net462
is_32bit: True
install:
- cinst docfx
- cinst codecov
- ps: |
if ($env:target_framework -eq "mono") {
if ($env:is_32bit -eq "True") {
cinst mono --x86
} else {
cinst mono
}
}
before_build:
- git submodule -q update --init
- cmd: dotnet --info
build_script:
- ps: .\build.ps1
# - ps: .\run-tests.ps1 $env:target_framework $env:is_32bit
after_test:
- cmd: appveyor PushArtifact "artifacts\UkooLabs.SVGSharpie.%APPVEYOR_BUILD_VERSION%.nupkg"
- cmd: appveyor PushArtifact "artifacts\UkooLabs.SVGSharpie.ImageSharp.%APPVEYOR_BUILD_VERSION%.nupkg"
- cmd: appveyor PushArtifact "artifacts\UkooLabs.SVGSharpie.DynamicPDF.%APPVEYOR_BUILD_VERSION%.nupkg"
deploy:
provider: NuGet
api_key:
secure: mDwn5Rqiu4ys9luHvWQo7AAd99VmHiApFyS/lrZhTvdnMj1IA/HiYb2LVeet3Vet
skip_symbols: false
artifact: /.*\.nupkg/
on:
branch: master
on_success:
- ps: .\run-docs.ps1 $env:USERPROFILE $env:github_access_token $env:github_email equinox2k
- bash release-docs.sh