-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
41 lines (41 loc) · 1.11 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
version: 1.0.{build}
environment:
ASPNETCORE_ENVIRONMENT: appveyor
COVERALLS_REPO_TOKEN:
secure: h1tEXDe7zMSq6Kx5h7m7PhbytxTbh1hfjwltLnhSdofwx6GxGoRHpgiAPvmKQn0t
pull_requests:
do_not_increment_build_number: true
branches:
only:
- master
image: Visual Studio 2019
configuration: Release
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
install:
- dotnet tool install --global coveralls.net
nuget:
disable_publish_on_pr: false
before_build:
- cmd: dotnet restore
build:
publish_nuget: true
publish_nuget_symbols: false
verbosity: normal
test_script:
- dotnet test --configuration Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude="[*Samples*]*" /p:CoverletOutput=TestResults/
after_test:
- csmacnz.coveralls --useRelativePaths --multiple --input "opencover=tests\Energy.UnitTests\TestResults\coverage.opencover.xml"
artifacts:
- path: '**\*.nupkg'
name: NuGet
deploy:
- provider: Environment
name: NuGet
skip_symbols: true