microsoft-logging/appveyor.yml

33 строки
767 B
YAML
Исходник Обычный вид История

2018-01-13 09:18:55 +03:00
image: Visual Studio 2017
configuration: Release
platform: Any CPU
install:
2018-01-14 02:43:41 +03:00
- ps: $env:build_version = (Select-Xml -Path ".\package.props" -XPath "/Project/PropertyGroup/Version" | Select-Object -ExpandProperty Node).InnerText
- ps: Update-AppveyorBuild -Version "$env:build_version.$env:APPVEYOR_BUILD_NUMBER"
2018-01-13 09:18:55 +03:00
dotnet_csproj:
patch: false
before_build:
- cmd: dotnet restore
build:
project: package.sln
parallel: true
verbosity: minimal
2018-01-14 02:43:41 +03:00
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 net47 --verbosity q"
after_test:
- codecov -f "results.xml"
2018-01-13 09:18:55 +03:00
artifacts:
- path: '**\Unity.*.nupkg'
name: 'Unity'