-
Notifications
You must be signed in to change notification settings - Fork 7
/
appveyor.yml
39 lines (37 loc) · 1.27 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
image: Visual Studio 2017
version: 1.0.{build}
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}'
before_build:
- cmd: nuget restore
environment:
CODECOV_REPO_TOKEN:
secure: QTCcL5PO5FwcXfhi5ghbpgn3DS0eatZtTnBPOfcjbnvT33yxC025LtcoGdwbTVy3
configuration:
- Release
test_script:
- nuget install OpenCover -OutputDirectory packages -Version 4.6.519
- .\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -target:"dotnet.exe" -targetargs:"test Quill.Delta.Test\Quill.Delta.Test.csproj --configuration Release --no-build" -filter:"+[*]* -[*.Test*]* -[nunit*]*" -excludebyattribute:"System.CodeDom.Compiler.GeneratedCodeAttribute" -skipautoprops -oldStyle -mergeoutput -register:user -output:"OpenCover.xml"
after_test:
- ps: |
$env:PATH = 'C:\msys64\usr\bin;' + $env:PATH
Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
bash codecov.sh -f "OpenCover.xml" -t $env:CODECOV_REPO_TOKEN
for:
-
branches:
only:
- master
build:
publish_nuget: true
deploy:
provider: NuGet
api_key:
secure: yWR0csSBMvGp5x4I50QTopxBojnsBkWUa2v4zRvpcO1q3di3SxYJXRX3xwXyEJ88
skip_symbols: false