forked from D-Haven/DHaven.Faux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
41 lines (37 loc) · 778 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
version: 1.3.{build}
skip_tags: true
image: Visual Studio 2017
configuration: Release
platform: Any CPU
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
install:
- cmd: >-
ECHO %APPVEYOR_BUILD_WORKER_IMAGE%
dotnet --version
dotnet restore
nuget:
disable_publish_on_pr: true
build_script:
- cmd: >-
appveyor-retry dotnet restore -v Minimal
dotnet build
test_script:
- cmd: >-
cd DHaven.Faux.Test
dotnet test
artifacts:
- path: '**\*.nupkg'
name: nupkg
deploy:
- provider: NuGet
api_key:
secure: Hkfqp9UmsJqV8SWXqaBmPhTPwvuWjP9asPqpWmzFFWZ8G1v03QLZuZC2zeU4s8aU
on:
branch: master