-
Notifications
You must be signed in to change notification settings - Fork 7
/
appveyor.yml
43 lines (32 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
36
37
38
39
40
41
42
43
version: build{build}
image: Visual Studio 2017
branches:
only:
- master
environment:
BaseVersion: 1.0.0
NugetVersion: "1.0.0-ci$(APPVEYOR_BUILD_NUMBER)"
cache:
- src\packages -> src\**\packages.config
assembly_info:
patch: true
file: 'src\**\AssemblyInfo.*'
assembly_version: "$(BaseVersion)"
assembly_file_version: "$(BaseVersion)"
assembly_informational_version: "$(NugetVersion)"
nuget:
project_feed: true
disable_publish_on_pr: true
configuration: Release
before_build:
- cd src
- 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 SpecFlow.xUnitAdapter.2017.sln
- cd ..
build:
project: src\SpecFlow.xUnitAdapter.2017.sln
verbosity: normal
artifacts:
- path: 'src\NuGetPackages\bin\*.nupkg'
test: off