-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
64 lines (64 loc) · 1.72 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
version: 0.1.{build}
skip_tags: true
configuration: Release
platform: AnyCPU
clone_depth: 2
branches:
only:
- master
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
install:
- choco install gitlink -y
before_build:
- nuget restore
- ps: if(-not $env:APPVEYOR_PULL_REQUEST_NUMBER) { $env:is_not_pr = "true"; }
before_package:
- ps: Remove-Item packages\OpenCover* -include ("*.pdb", "*.sln", "*.csproj") -recurse
- GitLink .\
- nuget pack -Verbosity detailed "%APPVEYOR_PROJECT_NAME%.nuspec" -MSBuildVersion 14.0 -Properties id=%APPVEYOR_PROJECT_NAME%;version=%APPVEYOR_BUILD_VERSION%;author=Dapplo
after_test:
- ps: .\CreateCoverage.ps1
environment:
sabnzb_test_username:
secure: gdcMwbkCpbe2jH691vkZqw==
sabnzb_test_password:
secure: Ok03X5fvfNY2h61MHktUJw==
build:
project: Dapplo.SabNzb.sln
publish_nuget: true
publish_nuget_symbols: false
verbosity: minimal
artifacts:
- path: '*.nupkg'
name: NuGet package
notifications:
- provider: Email
to:
on_build_success: true
on_build_failure: true
on_build_status_changed: false
deploy:
- provider: GitHub
release: Dapplo.SabNzb-v$(appveyor_build_version)
auth_token:
secure: eBQPtXg53XgcvdcVY3wQAw6kkwNh+QhcsTDwzyQLLh6IOPyiePEaEhJR0D2YBjAj
artifact: /.*\.nupkg/
draft: false
on:
branch: master
is_not_pr: true
appveyor_repo_commit_message_extended: /\[release\]/
- provider: NuGet
skip_symbols: true
api_key:
secure: Fu7vXeOuWmvDK7WGNsEbTIV2vhDV4P6PiK5k1+UZOmwldhCfvUvkA4HOkml+ZE/n
on:
branch: master
is_not_pr: true
appveyor_repo_commit_message_extended: /\[release\]/