-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
48 lines (46 loc) · 1.14 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
version: build.{build}
image: Visual Studio 2017
platform:
- x86
- x64
- Any CPU
init:
- cmd: git config --global core.autocrlf true
before_build:
- cmd: >-
gitversion /l console /output buildserver /updateAssemblyInfo
nuget restore
build:
parallel: true
verbosity: minimal
after_build:
- ps: >-
$nuget_version = "$env:GitVersion_NuGetVersionV2"
.\.packages\package-NBi-SqlServer.ps1 $nuget_version
test_script:
- cmd: nunit3-console NBi.Testing.Core.SqlServer.Unit\bin\debug\NBi.Testing.Core.SqlServer.Unit.dll
artifacts:
- path: NBi.Core.SqlServer\bin\
name: NBi.SqlServer
- path: .nupkg\NBi.SqlServer.*.nupkg
name: NBi.SqlServer
deploy:
- provider: NuGet
api_key:
secure: 7LDAnpfRuEmLf/4hhERYnfy3tHLBqC7wqScUEviYVYkNvrM7C3NN0h73se3QuoNh
on:
branch: develop
- provider: NuGet
api_key:
secure: 7LDAnpfRuEmLf/4hhERYnfy3tHLBqC7wqScUEviYVYkNvrM7C3NN0h73se3QuoNh
on:
APPVEYOR_REPO_TAG: true
- description: ''
provider: GitHub
auth_token:
secure: Gr2fraoXD6EyzbJJTfK+lk65/SO5SUaeQNzN51G2BB+wiS95xBeiFcl/8k5LP1h8
artifact: NBi.SqlServer
draft: true
prerelease: false
on:
APPVEYOR_REPO_TAG: true