-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathappveyor.yml
14 lines (11 loc) · 1.05 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
configuration: Release
before_build:
- appveyor-retry dotnet restore "SimpleMvcSitemap.sln" -v Minimal
build_script:
- dotnet build "SimpleMvcSitemap.sln" -c %CONFIGURATION% --no-dependencies
test_script:
- dotnet test "test\SimpleMvcSitemap.Tests" -c %CONFIGURATION%
- nuget install OpenCover -Version 4.6.519 -OutputDirectory tools
- nuget install coveralls.net -Version 0.7.0 -OutputDirectory tools
- .\tools\OpenCover.4.6.519\tools\OpenCover.Console.exe -target:"C:\Program Files\dotnet\dotnet.exe" -targetargs:" test ""test\SimpleMvcSitemap.Tests\SimpleMvcSitemap.Tests.csproj"" -f net451" -register:user -filter:"+[SimpleMvcSitemap]*" -returntargetcode -output:coverage.xml
- ps: .\tools\coveralls.net.0.7.0\tools\csmacnz.Coveralls.exe --opencover -i coverage.xml --repoToken $env:COVERALLS_REPO_TOKEN --commitId $env:APPVEYOR_REPO_COMMIT --commitBranch $env:APPVEYOR_REPO_BRANCH --commitAuthor $env:APPVEYOR_REPO_COMMIT_AUTHOR --commitEmail $env:APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL --commitMessage $env:APPVEYOR_REPO_COMMIT_MESSAGE --jobId $env:APPVEYOR_JOB_ID