This repository has been archived by the owner on Feb 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
44 lines (36 loc) · 1.45 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
40
41
42
43
44
version: 2.0.0.{build}
configuration: Debug
image: Visual Studio 2019
init:
- git config --global core.autocrlf true
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}-alpha1'
package_version: '{version}-alpha1'
assembly_version: '{version}'
file_version: '{version}'
informational_version: '{version}-alpha1'
nuget:
account_feed: false
project_feed: false
before_build:
- cmd: dotnet --info
- cmd: dotnet restore Source/ManagedIrbis.30.sln
- cmd: choco install opencover.portable
- cmd: rem choco install codecov
- cmd: choco install dottrace
build_script:
- dotnet msbuild "C:\projects\managedirbis2\Source\ManagedIrbis.30.sln" /m /verbosity:minimal
after_build:
- cmd: compile.cmd
test_script:
- OpenCover.Console.exe -register:user -target:"C:/Program Files/dotnet/dotnet.exe" -targetargs:"test --no-build --logger:trx;LogFileName=Source/UnitTests/results.trx /p:DebugType=full Source/UnitTests/UnitTests.csproj" -filter:"+[AM.Core]AM.* -[*]AM.Core.Properties.* +[ManagedIrbis]* -[*]ManagedIrbis.Biblio.* -[*]ManagedIrbis.Properties.*" -excludebyattribute:"*.ExcludeFromCodeCoverage*" -output:"%TEMP%\coverage.xml" -oldStyle
- rem codecov -f "%TEMP%\coverage.xml" -t b086eb50-83b2-419f-a1e2-47cc7750b482
- dotnet.exe build -c Release --verbosity=minimal Source\Benchmarks
- dotnet.exe run -c Release -p Source\Benchmarks
artifacts:
- path: Binaries
name: ManagedIrbis2
- path: 'Binaries\DebugCore\**\*.nupkg'
name: Nuget