-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
34 lines (25 loc) · 929 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
version: 1.1.{build}
configuration: Release
image: Visual Studio 2017
dotnet_csproj:
patch: true
file: '**\*.csproj;**\*.props'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
nuget:
project_feed: true
before_build:
- cmd: dotnet --info
- cmd: dotnet restore --verbosity Minimal
build_script:
- cmd: dotnet build src\NOpenPage --configuration %CONFIGURATION%
after_build:
- cmd: dotnet pack src\NOpenPage --configuration %CONFIGURATION% --include-symbols --no-build --output ..\..\nupkgs /p:PackageVersion=%APPVEYOR_BUILD_VERSION%
test_script:
- cmd: dotnet test specs\NOpenPage.Specs\NOpenPage.Specs.csproj --configuration %CONFIGURATION%
- cmd: dotnet test examples\NOpenPage.Examples.SpecFlow\NOpenPage.Examples.SpecFlow.csproj --configuration %CONFIGURATION%
artifacts:
- path: nupkgs\*.nupkg