-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
35 lines (27 loc) · 907 Bytes
/
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
version: '{build}'
install:
- choco install gitversion.portable -pre -y
assembly_info:
patch: false
nuget:
disable_publish_on_pr: true
before_build:
- cmd: dotnet restore .\src\SpecFlow.Contrib.GenericContainer.sln
- cmd: gitversion /l console /output buildserver /updateAssemblyInfo
build_script:
- cmd: dotnet build .\src\SpecFlow.Contrib.GenericContainer.sln -c Release -v q --no-restore /nologo
- cmd: dotnet pack .\src\SpecFlow.Contrib.GenericContainer.sln -c Release -o "%APPVEYOR_BUILD_FOLDER%\artifacts" --include-symbols --no-build --no-restore /nologo -p:PackageVersion="%GitVersion_NuGetVersion%"
test:
assemblies:
only:
- '**\*.Tests.dll'
artifacts:
- path: 'artifacts\**\*.nupkg'
name: NuGet
deploy:
- provider: NuGet
name: production
api_key:
secure: clUnJlfR9/a4dTu2340OT2XEgmQvFdDRwkqZbt2r+yTq4XAC+L536GpWhkSy4bu1
on:
appveyor_repo_tag: true