-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
59 lines (43 loc) · 1.29 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
configuration: Debug
image: Visual Studio 2022
# hack until donet patching works with PR
init:
- cmd: if DEFINED APPVEYOR_PULL_REQUEST_NUMBER (Set build_number=1) ELSE (Set build_number=%APPVEYOR_BUILD_NUMBER%)
environment:
app_version: '4.1.0'
version: '$(app_version).{build}'
dotnet_csproj:
patch: true
file: '**\*.csproj'
assembly_version: '$(app_version).$(build_number)'
file_version: '$(app_version).$(build_number)'
informational_version: '$(app_version).$(build_number)'
cache:
packages -> **\*.csproj # preserve "packages" directory in the root of build folder but will reset it if a project file is modified
before_build:
- nuget sources add -name bddhelper -source https://ci.appveyor.com/nuget/ospsuite-bddhelper
- nuget restore
build:
publish_nuget: true
publish_nuget_symbols: true
verbosity: minimal
test:
assemblies:
- OSPSuite.Utility.Tests.dll
skip_commits:
files:
- '*.md'
pull_requests:
do_not_increment_build_number: true
nuget:
disable_publish_on_pr: true
skip_branch_with_pr: true
skip_tags: true
branches:
only:
- master
- develop
notifications:
- provider: Slack
incoming_webhook:
secure: 4MH9Em6TtrKalq6808dhPOqypTfYBJvVlqPaa9akNyFEAs8X080yIO8g1FLt3tNfBN4OpeBnkgrXzf7AqNKV5561x7Coux3ByGrHmsL1sCo=