-
-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathappveyor.yml
64 lines (57 loc) · 1.96 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
version: build.{build}
image: Visual Studio 2022
init:
- cmd: git config --global core.autocrlf true
- ps: $env:IGNORE_NORMALISATION_GIT_HEAD_MOVE = 1
before_build:
- cmd: >-
gitversion /l console /output buildserver /updateAssemblyInfo /verbosity Minimal
nuget restore -Verbosity quiet
build:
verbosity: minimal
before_package:
- cmd: clone-extensions.cmd
after_build:
- ps: >-
$nuget_version = "$env:GitVersion_NuGetVersionV2"
.\.packages\package-NBi.ps1 $nuget_version
before_test:
- ps: .\restore-database-for-testing.ps1
test_script:
- cmd: >-
nunit3-console NBi.Testing.Core\bin\debug\NBi.Testing.Core.dll NBi.Testing.Framework\bin\debug\NBi.Testing.Framework.dll NBi.Testing.GenbiL\bin\debug\NBi.Testing.GenbiL.dll NBi.Testing.Xml\bin\debug\NBi.Testing.Xml.dll --where "cat!=Acceptance and cat!=Olap and cat!=Etl and cat!=WindowsService and cat!=ReportServerDB and cat!=LocalSQL" --result=myresults.xml;format=AppVeyor
nunit-console-x86 NBi.Testing\bin\debug\NBi.Testing.dll /exclude:Olap,Etl,WindowsService,ReportServerDB,LocalSQL
artifacts:
- path: NBi.NUnit.Runtime\bin\Debug
name: Framework
- path: NBi.UI.Genbi\bin\Debug
name: UI
- path: Extensions\genbil
name: TextMate Bundle
- path: .nupkg\NBi.*.nupkg
name: Nuget packages
deploy:
- provider: NuGet
api_key:
secure: O0hLRt0g8WWz1ltyvA5FsC0ZRrfYvAtCp79d9WbkKvEGLC3up1N+1sv42J1SCSDg
on:
branch: develop
- provider: NuGet
api_key:
secure: O0hLRt0g8WWz1ltyvA5FsC0ZRrfYvAtCp79d9WbkKvEGLC3up1N+1sv42J1SCSDg
on:
APPVEYOR_REPO_TAG: true
- provider: NuGet
server: https://nuget.pkg.github.com/Seddryck/index.json
username: Seddryck
api_key:
secure: vmXLz/XAhXz3eNJPtg5mP78yhliNVtPy4ieiwuGD9Ym47b5CvdXLT0B4tr/VHDoX
on:
branch: develop
- provider: NuGet
server: https://nuget.pkg.github.com/Seddryck/index.json
username: Seddryck
api_key:
secure: vmXLz/XAhXz3eNJPtg5mP78yhliNVtPy4ieiwuGD9Ym47b5CvdXLT0B4tr/VHDoX
on:
APPVEYOR_REPO_TAG: true