This repository has been archived by the owner on Apr 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathappveyor.yml
49 lines (41 loc) · 2.2 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
45
46
47
48
49
configuration: Release
version: 1.0.{build}
image: Visual Studio 2017
before_build:
- cmd: set PATH=C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin;C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin;C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin;%PATH%
- cmd: nuget install nuget.commandline -source https://dotnet.myget.org/F/nuget-build -prerelease -excludeversion
- cmd: set PATH=%appveyor_build_folder%\NuGet.CommandLine\tools;%PATH%
- cmd: nuget restore Autofac.Extras.IocManager.sln
build:
project: Autofac.Extras.IocManager.sln
publish_nuget: true
publish_nuget_symbols: true
include_nuget_references: true
verbosity: minimal
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
environment:
nuget_user: [email protected]
nuget_password:
secure: w73Xs1Is7iK/DtAOf0XTHg==
COVERALLS_REPO_TOKEN:
secure: BolGC6FG7Pv51emvIKeU8n5Fx4jUEFyX9
test:
assemblies:
- test\Autofac.Extras.IocManager.Tests\bin\Release\net452\Autofac.Extras.IocManager.Tests.dll
- test\Autofac.Extras.IocManager.DynamicProxy.Tests\bin\Release\net452\Autofac.Extras.IocManager.DynamicProxy.Tests.dll
after_test:
- tools\coverage\opencover\OpenCover.Console.exe -register:user -target:"tools\xunitrunner2.2.0\xunit.console.exe" -targetargs:"test\Autofac.Extras.IocManager.Tests\bin\Release\net452\Autofac.Extras.IocManager.Tests.dll test\Autofac.Extras.IocManager.DynamicProxy.Tests\bin\Release\net452\Autofac.Extras.IocManager.DynamicProxy.Tests.dll -noshadow" -filter:"+[Autofac.Extras.IocManager*]* -[Autofac.Extras.IocManager.T*]* -[Autofac.Extras.IocManager.DynamicProxy.T*]*" -output:xunit_opencovertests.xml -coverbytest:*.Tests.dll
- tools\coverage\coveralls.net\csmacnz.Coveralls.exe --opencover -i xunit_opencovertests.xml --repoToken %COVERALLS_REPO_TOKEN% --commitBranch %APPVEYOR_REPO_BRANCH%
deploy:
- provider: NuGet
on:
branch: master
api_key:
secure: liSTqN52OJQy9fZJk6gubSgYBAy4EXcEPCDSCLJ/3T9cZufzpTwvBlGPLX+iP2n9
artifacts:
- path: '**\.nupkg/'