forked from xunit/xunit.analyzers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
59 lines (47 loc) · 1.56 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: KY/jquT/UjpGiG7tO6XSuGtlpvXYujJ4D9F19o0q+YRzuWkEBXPtyic8lhxoexTE
SignClientSecret:
secure: g0OJ9dO4ocXS06UgDZ1Bnd3F0JSHMo9I41z2Zc07CKk=
SignClientUser:
secure: uyweGSwxexnLy4dBNleW8tYcXTA291faj34PQV0ePxOTFSa5Cvf50jyICVP9mLGS
clone_script:
- ps: >-
git config --global --unset core.autocrlf;
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:
- CONTRIBUTING.md
- LICENSE
- README.md
- docs/
nuget:
disable_publish_on_pr: true
build_script:
- ps: .\build.ps1 ci --buildAssemblyVersion ($env:BuildVersion + $env:APPVEYOR_BUILD_NUMBER) --buildSemanticVersion ($env:BuildSemanticVersion + $env:APPVEYOR_BUILD_NUMBER)
test: off
deploy: off
artifacts:
- 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