-
Notifications
You must be signed in to change notification settings - Fork 134
/
appveyor.yml
46 lines (35 loc) · 1.05 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
45
46
version: '1.0.{build}'
before_build:
- nuget restore
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
configuration:
- Debug
- Release
build:
project: Telepathy.sln
verbosity: minimal
artifacts:
- path: '**\*.nupkg'
- path: Telepathy\bin\$(configuration)\
name: Telepathy
cache:
- '%USERPROFILE%\.nuget\packages -> **\*.csproj'
image: Visual Studio 2019
test_script:
- '%USERPROFILE%\.nuget\packages\opencover\4.7.906-rc\tools\OpenCover.Console.exe -returntargetcode -register:user -target:"nunit3-console.exe" -targetargs:Telepathy.Tests\bin\%CONFIGURATION%\net471\Telepathy.Tests.dll -output:"coverage.xml" -filter:"+[Telepathy*]* -[Telepathy.Tests*]* "'
#after_test:
# - ps: |
# Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
# bash codecov.sh -f "coverage.xml"
deploy:
- provider: Environment
name: nuget-telepathy
on:
branch: master