-
Notifications
You must be signed in to change notification settings - Fork 15
/
appveyor.yml
40 lines (31 loc) · 1.13 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
version: 7.1.0.{build}
os: Visual Studio 2019
environment:
ASPNETCORE_ENVIRONMENT: appveyor
COVERALLS_REPO_TOKEN:
secure: oEPYnaUYQGp+9WgkI+7wle8XvudDaXznHa/oUEFAoRmNZ2MhBI6ku9IG3aLY4tHa
init:
- git config --global core.autocrlf input
dotnet_csproj:
patch: true
file: 'build\version.props'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
configuration: Release
before_build:
- dotnet tool install --global coveralls.net
build_script:
- dotnet pack FluentRest.sln --configuration Release --include-symbols --include-source
test_script:
- dotnet test FluentRest.sln --configuration Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude="[xunit*]*"
after_test:
- csmacnz.coveralls --useRelativePaths --multiple --input "opencover=test\FluentRest.Tests\coverage.opencover.xml;opencover=test\FluentRest.Fake.Tests\coverage.opencover.xml;opencover=test\FluentRest.Factory.Tests\coverage.opencover.xml"
artifacts:
- path: artifacts\*.nupkg
name: Packages
deploy:
- provider: Environment
name: MyGet