forked from SpecFlowOSS/SpecFlow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
46 lines (36 loc) · 1.21 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
version: build{build}
branches:
only:
- master
environment:
SpecFlowBaseVersion: 2.2.0
SpecFlowPackageVersion: "2.2.0-ci$(APPVEYOR_BUILD_NUMBER)"
cache:
- packages -> **\packages.config
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: "$(SpecFlowBaseVersion)"
assembly_file_version: "$(SpecFlowBaseVersion)"
assembly_informational_version: "$(SpecFlowPackageVersion)"
nuget:
project_feed: true
disable_publish_on_pr: true
configuration: Release
before_build:
- appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
- appveyor DownloadFile https://raw.githubusercontent.com/appveyor/ci/master/scripts/nuget-restore.cmd
- nuget-restore
build:
project: TechTalk.SpecFlow.sln
verbosity: normal
test:
assemblies:
- TechTalk.SpecFlow.GeneratorTests.dll
- TechTalk.SpecFlow.RuntimeTests.dll
- TechTalk.SpecFlow.IntegrationTests.dll
- TechTalk.SpecFlow.Specs\bin\Release\TechTalk.SpecFlow.Specs.dll
artifacts:
- path: '\Installer\NuGetPackages\bin\SpecFlow.*.nupkg'
- path: Installer\SpecFlowBinPackage\bin\SpecFlowBinPackage.zip
- path: Installer\SpecFlowBinPackage\bin\SpecFlowSymbolPackage.zip