forked from OpenCover/opencover
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
85 lines (84 loc) · 2.39 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
version: 4.6.{build}
skip_tags: true
os: Visual Studio 2015
shallow_clone: true
environment:
COVERALLS_REPO_TOKEN:
secure: A5Y5pKzc8Xf2qOCrFqYP2BWQYKif/BtlesWT/uojWfOFJj5jcSOaHP+DfwVYid09
COVERITY_TOKEN:
secure: q4yqC+X51LwoyuBcg0qvks1117rt1HwqsDErKsbLpsQ=
COVERITY_EMAIL:
secure: lgy4M/uQ9jMlxmPzTIYWVE2GggvPntq6kfpO6Z0pjAs=
SONARQUBE_USER:
secure: +9YfPnwJzGsvdyto85pHwg==
SONARQUBE_PASSWORD:
secure: Ptvd9aDNKfVhXvPpq6o1Fw==
DRDUMP_TOKEN:
secure: 16PEs46poxfT7drt6BdHSHPPzAymXBYrIaqoAsHvY49os5Azz4rNTp3QaUhtITZ+
cache:
- build/Version/opencover.snk
- build/Version/opencover.public.snk
nuget:
disable_publish_on_pr: true
build_script:
- ps: >-
if ($env:APPVEYOR_SCHEDULED_BUILD -eq "True" -or $env:APPVEYOR_REPO_BRANCH -eq "coverity") {
& .\build.bat create-coverity-release
} else {
& .\build.bat create-release
}
test: off
artifacts:
- path: main/bin/installer/*.msi
name: Installer
- path: main/bin/nugetpackage/*.nupkg
name: Nuget
- path: main/bin/zip/*.zip
name: ZipArchive
- path: main/bin/nugetpackage-rc/*.nupkg
name: NugetCandidate
deploy:
- provider: NuGet
api_key:
secure: yew/4xjmqdUs1U//LNGQjjMgB3JVantsz09C2LxmKaLXuG1gEsWJl+Nd+VRmB3TM
skip_symbols: true
artifact: Nuget
on:
branch: release
- provider: NuGet
api_key:
secure: yew/4xjmqdUs1U//LNGQjjMgB3JVantsz09C2LxmKaLXuG1gEsWJl+Nd+VRmB3TM
skip_symbols: true
artifact: NugetCandidate
on:
branch: rc
- provider: GitHub
tag: $(appveyor_build_version)-rc
release: OpenCover (Release Candidiate) $(appveyor_build_version)
auth_token:
secure: bMPwiJusZ78qab84M/zNAxmpMSCW11eaJI3czwnDzl8tK/9u3y4w38+2WOVkNeOg
artifact: Installer, ZipArchive
prerelease: true
on:
branch: rc
- provider: GitHub
tag: $(appveyor_build_version)
release: OpenCover (Release) $(appveyor_build_version)
auth_token:
secure: bMPwiJusZ78qab84M/zNAxmpMSCW11eaJI3czwnDzl8tK/9u3y4w38+2WOVkNeOg
artifact: Installer, ZipArchive
on:
branch: release
notifications:
- provider: Webhook
url: https://webhooks.gitter.im/e/700bdb95a55f23095db9
on_build_success: true
on_build_failure: true
on_build_status_changed: true
on_success:
- ps: >-
if (-Not $env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_SCHEDULED_BUILD -ne "True" -and $env:APPVEYOR_REPO_BRANCH -ne "coverity") {
& .\build.bat sonarqube-build
} else {
& .\build.bat dogfood-release
}