forked from simpleinjector/SimpleInjector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
24 lines (23 loc) · 1.38 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
version: 3.1.0.{build}
os: Visual Studio 2015
before_build:
- cd src
- nuget restore SimpleInjector.sln
skip_tags: true
configuration: Debug
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
build_script:
- cmd: >-
..\appveyor.bat
environment:
COVERALLS_REPO_TOKEN:
secure: Hw9xA9D3SRGgpH9hNHoiHqnilSWV6/32NecYMp0Pa7LDykWa1oXpjN0CQ4JLDz/e
after_test:
- mkdir reports
- packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -mergeoutput -register:user -excludebyattribute:*.ExcludeFromCodeCoverage*^ -target:"C:\Tools\NUnit\bin\nunit-console.exe" "-targetargs:\"SimpleInjector.NET.Tests.Unit\bin\Debug\SimpleInjector.Tests.Unit.dll\" \"SimpleInjector.Extensions.LifetimeScoping.Tests.Unit\bin\Debug\SimpleInjector.Extensions.LifetimeScoping.Tests.Unit.dll\" \"SimpleInjector.Integration.Web.Tests.Unit\bin\Debug\SimpleInjector.Integration.Web.Tests.Unit.dll\" \"SimpleInjector.Extensions.ExecutionContextScoping.Tests.Unit\bin\Debug\SimpleInjector.Extensions.ExecutionContextScoping.Tests.Unit.dll\" -noshadow" -filter:"+[*]SimpleInjector.* -[*.Tests.*]*" -output:reports\opencoverCoverage.xml
- packages\coveralls.net.0.6.0\tools\csmacnz.Coveralls.exe --opencover -i reports\opencoverCoverage.xml --repoToken %COVERALLS_REPO_TOKEN% --commitBranch %APPVEYOR_REPO_BRANCH%