forked from xunit/xunit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
59 lines (47 loc) · 1.54 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
image: Visual Studio 2017
environment:
MyGetApiKey:
secure: +jVb98hbYCifINyQDeQwpv69p+ZiPm6ArzYM4J+fMYUlDeNiB+UKK5a1XnUzEMpY
SignClientSecret:
secure: bkFZxe/+pW/X6nOwSYgMfr7XCgZD8F5KPNCsvHntf55YqvpYdnQucPZT5xmnf7eY
clone_script:
- ps: >-
if (-not $env:appveyor_pull_request_number) {
git clone -q --branch=$env:appveyor_repo_branch https://github.com/$env:appveyor_repo_name.git $env:appveyor_build_folder
git checkout -qf $env:appveyor_repo_commit
} else {
git clone -q https://github.com/$env:appveyor_repo_name.git $env:appveyor_build_folder
git fetch -q origin +refs/pull/$env:appveyor_pull_request_number/merge:
git checkout -qf FETCH_HEAD
}
git submodule update --init --recursive --quiet
branches:
only:
- master
skip_branch_with_pr: true
skip_tags: true
skip_commits:
files:
- BUILDING.md
- CONTRIBUTING.md
- ISSUE_TEMPLATE.md
- license.txt
- README.md
- tools/xUnitSummary.xsl
nuget:
disable_publish_on_pr: true
build_script:
- ps: .\build.ps1 -target appveyor -buildAssemblyVersion ($env:BuildVersion + $env:APPVEYOR_BUILD_NUMBER) -buildSemanticVersion ($env:BuildSemanticVersion + $env:APPVEYOR_BUILD_NUMBER)
test: off
deploy: off
artifacts:
- path: artifacts/build
- path: artifacts/packages
- path: artifacts/test
notifications:
- provider: Slack
incoming_webhook:
secure: k1oXe/zscPP/vX2kQXYNO1SkIMvN47r8BNA6gkM6z5+I8rKJD+g8C3+pbdARRuzUHAMO5vzD7TXeL6fMt5oIw0QBnuAGNBLx4EsBWllmPyw=
channel: '#pulse'
on_build_success: true
on_build_failure: true