-
Notifications
You must be signed in to change notification settings - Fork 11
/
.appveyor.yml
36 lines (30 loc) · 950 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
31
32
33
34
35
36
version: '2.0.0.{build}'
environment:
CODECOV_TOKEN:
secure: 3cc8d6a1-6ea2-4aa3-98e8-3d19ae46adc8
image: Visual Studio 2019
skip_branch_with_pr: true
skip_commits:
files:
- '**/*.md'
before_build:
- choco install opencover.portable
- choco install codecov
build:
verbosity: normal
build_script:
- dotnet build misc/vs/Gcode.sln -c Release
test_script:
- OpenCover.Console.exe -register:user -target:"C:\Program Files\dotnet\dotnet.exe" -targetargs:"test tools/TestSuite/Gcode.Test/Gcode.Test.csproj" -filter:"+[Gcode]* -[Gcode.Test]*" -output:".\coverage.xml"
- codecov -f coverage.xml -t 3cc8d6a1-6ea2-4aa3-98e8-3d19ae46adc8
artifacts:
- path: 'src\Gcode.Utils\bin\Release\*.nupkg'
name: NuGet Package (Release)
- path: coverage.xml
name: Coverage Report
deploy:
provider: NuGet
api_key:
secure: jRFEcQuIP0Rmqjrxk1uX7lNkVxROi8MzMJ+KUUUR+1XyAbWviTaUAPvYZ9FyZC5K
skip_symbols: true
artifact: /.*\.nupkg/