-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
64 lines (47 loc) · 1.58 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
configuration: Debug
image: Visual Studio 2019
init:
- cmd: if DEFINED APPVEYOR_PULL_REQUEST_NUMBER (Set build_number=1) ELSE (Set build_number=%APPVEYOR_BUILD_NUMBER%)
environment:
app_version: '3.0.0'
MIK_TEX_INSTALL_DIR: 'C:\MikTex\'
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)'
before_build:
- nuget sources add -name bddhelper -source https://ci.appveyor.com/nuget/ospsuite-bddhelper
- nuget sources add -name utility -source https://ci.appveyor.com/nuget/ospsuite-utility
- nuget restore
install:
- ps: >-
(new-object net.webclient).DownloadFile('https://github.com/Open-Systems-Pharmacology/MiKTeX/releases/download/v2.9.3/MikTex.2.9.3.msi', 'C:\\MikTex.msi')
Start-Process msiexec.exe -ArgumentList /i, C:\MikTex.msi, /quiet, /qn, /norestart, INSTALLDIR=$env:MIK_TEX_INSTALL_DIR -Wait
build:
publish_nuget: true
verbosity: minimal
publish_nuget_symbols: true
project: OSPSuite.TeXReporting.sln
test:
assemblies:
- OSPSuite.TeXReporting.Tests.dll
skip_commits:
files:
- '*.md'
notifications:
- provider: Slack
incoming_webhook:
secure: 4MH9Em6TtrKalq6808dhPOqypTfYBJvVlqPaa9akNyF1h7st5qNdNezFp6T+bWXqrcZ4q/smtPcJ7LkUFHL46JDYUFlIL8FDz+ApX/vP+x0=
branches:
only:
- master
- develop
skip_branch_with_pr: true
pull_requests:
do_not_increment_build_number: true
skip_tags: true
nuget:
disable_publish_on_pr: true