forked from unitycontainer/container
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
36 lines (27 loc) · 868 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
image: Visual Studio 2017
configuration: Release
platform: Any CPU
install:
- ps: $env:build_version = (Select-Xml -Path ".\package.props" -XPath "/Project/PropertyGroup/VersionBase" | Select-Object -ExpandProperty Node).InnerText
- ps: Update-AppveyorBuild -Version "$env:build_version.$env:APPVEYOR_BUILD_NUMBER"
assembly_info:
patch: false
assembly_informational_version: "{version} $(GIT_HASH)"
dotnet_csproj:
patch: false
before_build:
- cmd: dotnet restore
build:
project: package.sln
parallel: true
verbosity: minimal
after_build:
- choco install opencover.portable
- choco install codecov
test_script:
- OpenCover.Console.exe -register:user -target:"C:\Program Files\dotnet\dotnet.exe" -targetargs:"test --framework net46 --verbosity q"
after_test:
- codecov -f "results.xml"
artifacts:
- path: '**\Unity.*.nupkg'
name: 'Unity'