-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
44 lines (41 loc) · 1.1 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
configuration: Release
image:
Visual Studio 2017
init:
# Good practise, because Windows line endings are different from Unix/Linux ones
- cmd: git config --global core.autocrlf true
before_build:
# Display .NET Core version
- cmd: dotnet --version
- cmd: dotnet restore ./OpenMovieDatabaseNetClient.sln --verbosity m
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: $(appveyor_build_version)
package_version: $(appveyor_build_version)
assembly_version: $(appveyor_build_version)
file_version: $(appveyor_build_version)
informational_version: $(appveyor_build_version)
build:
project: OpenMovieDatabaseNetClient.sln
verbosity: normal
publish_nuget: true
publish_nuget_symbols: true
#tests
test:
assemblies:
only:
- OpenMovieDatabase.Client.Test.dll
# all except categories to test
categories:
except:
- Integration
#Push to nuget
deploy:
provider: NuGet
api_key:
secure: p29F21IZFy2nYYvu4elqX/7wqm4be6J6V0dDdYyGXYCW4BvbGTx0UdIsblkg8/33
skip_symbols: false
artifact: /.*\.nupkg/
on:
branch: master