-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathappveyor.yml
105 lines (91 loc) · 2.78 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
image: Visual Studio 2019
version: '{build}'
pull_requests:
do_not_increment_build_number: true
nuget:
disable_publish_on_pr: true
environment:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
github_access_token:
secure: REm65Z5Fp9idcP8KKLp06b33/PES+jiRxNAc7ZalS7jHR6i1iCrgxBVcm42Lpvbd
cache:
- tools -> build.cake
- C:\ProgramData\chocolatey\bin -> appveyor.yml
- C:\ProgramData\chocolatey\lib -> appveyor.yml
- '%USERPROFILE%\.nuget\packages -> **\*.csproj'
init:
- git config --global user.email "[email protected]"
- git config --global user.name "AppVeyor CI"
- git config --global credential.helper store
- ps: Add-Content -Path "$HOME\.git-credentials" -Value "https://$($env:github_access_token):[email protected]`n" -NoNewline
install:
- choco install docfx -y --version=2.56.6
- dotnet tool restore
build_script:
- dotnet tool run dotnet-cake -- --target=AppVeyor
test: off
artifacts:
- path: .\artifacts\nuget\*
name: NuGet
- path: .\artifacts\**\*.zip
name: Archive
- path: .\artifacts\opencover-results.xml
name: OpenCover
- path: .\artifacts\coverage-report
name: Coverage
deploy:
- provider: NuGet
#server: https://api.nuget.org/v3/index.json
name: production
api_key:
secure: A56Qs5ovDCqFsic8ntEtyzli2cLE/D9UZb6adpWOaSrVNLEy+mmPgMijjimmjj0i
artifact: NuGet
on:
appveyor_repo_tag: true
- provider: NuGet
server: https://nuget.pkg.github.com/chroma-sdk/index.json
name: production
username: Sharparam
skip_symbols: true
api_key:
secure: REm65Z5Fp9idcP8KKLp06b33/PES+jiRxNAc7ZalS7jHR6i1iCrgxBVcm42Lpvbd
artifact: NuGet
on:
appveyor_repo_tag: true
- provider: GitHub
description: Automatically created by AppVeyor.
auth_token:
secure: REm65Z5Fp9idcP8KKLp06b33/PES+jiRxNAc7ZalS7jHR6i1iCrgxBVcm42Lpvbd
artifact: NuGet,Archive,OpenCover,Coverage
draft: true
on:
appveyor_repo_tag: true
- provider: NuGet
server: https://nuget.pkg.github.com/chroma-sdk/index.json
name: development
username: Sharparam
skip_symbols: true
api_key:
secure: REm65Z5Fp9idcP8KKLp06b33/PES+jiRxNAc7ZalS7jHR6i1iCrgxBVcm42Lpvbd
artifact: NuGet
on:
branch: develop
after_deploy:
- ps: .\appveyor\deploy-docs.ps1
#on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
notifications:
- provider: GitHubPullRequest
- provider: Slack
auth_token:
secure: QUZYn9cOzpULl4DByhENnUcKSsv035vR3PSgX8JqUqs0S4ZPVct+slZKrUB6xKXD
channel: '#colore'
on_build_success: true
on_build_failure: true
on_build_status_changed: true
- provider: Webhook
url: https://webhooks.gitter.im/e/a034d0036043d620fe38
on_build_success: true
on_build_failure: true
on_build_status_changed: true