-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathappveyor.yml
30 lines (30 loc) · 904 Bytes
/
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
image: Visual Studio 2017
branches:
only:
- master
- release
init:
- cmd: git config --global core.autocrlf true
before_build:
- cmd: dotnet --version
- cmd: dotnet restore --verbosity m
build_script:
- cmd: dotnet build -c Release
test_script:
- cmd: dotnet test -c Release --no-build SLOBSharp.Tests/SLOBSharp.Tests.csproj -p:CollectCoverage=true -p:CoverletOutputFormat=opencover -p:Exclude="[SLOBSharp.Tests*]*"
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 "./SLOBSharp.Tests/coverage.opencover.xml"
artifacts:
- path: '**\*.nupkg'
name: nugetpackage
deploy:
- provider: NuGet
on:
branch: release
api_key:
secure: JS3CmQkbAvpyup3YC1n2vaA2+np8AHQjRglf7A/oV9kyRuUCWYRnEvhhqYLPCH8v
skip_symbols: true
artifact: nugetpackage