-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
51 lines (51 loc) · 1.35 KB
/
appveyor.yml
File metadata and controls
51 lines (51 loc) · 1.35 KB
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
version: 0.2.{build}
skip_tags: true
os: Visual Studio 2017
configuration: Release
platform: AnyCPU
clone_depth: 2
branches:
only:
- master
install:
- choco install gitlink -y
before_build:
- ps: .\SetVersion.ps1
- appveyor-retry dotnet restore -v Minimal
- ps: if(-not $env:APPVEYOR_PULL_REQUEST_NUMBER) { $env:is_not_pr = "true"; }
before_package:
- ps: if(-not $env:APPVEYOR_PULL_REQUEST_NUMBER) { GitLink .\ }
after_test:
- ps: .\CreateCoverage.ps1
environment:
COVERALLS_REPO_TOKEN:
secure: RyaJ7I4jGcnKusgJBM/uQxB751rVtAoAp88nrhlF9dP421w3eF30rJdj3ze0LzqN
jenkins_test_uri: https://jenkins.qa.ubuntu.com/
build:
publish_nuget: true
publish_nuget_symbols: true
verbosity: minimal
build_script:
- dotnet build Dapplo.Jenkins -c %CONFIGURATION% --no-dependencies
- dotnet build Dapplo.Jenkins.Tests -c %CONFIGURATION% --no-dependencies
after_build:
- dotnet pack Dapplo.Jenkins -c %CONFIGURATION% --no-build -o artifacts
artifacts:
- path: artifacts\**\*.*
name: NuGet package
notifications:
- provider: Email
to:
- robin@dapplo.net
on_build_success: true
on_build_failure: true
on_build_status_changed: false
deploy:
- 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\]/