-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
22 lines (21 loc) · 1.21 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
version: 1.0.{build}
skip_tags: true
configuration: Release
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
environment:
COVERALLS_REPO_TOKEN:
secure: lc0Tx+lbuPxAXOpLnsNNWbudS5FmoPzzNaVwq3sz1kwQsgj9+YmK/gfMTxcKQYXk
before_build:
- nuget restore ".\GenericBlogAPI.sln"
build:
project: .\GenericBlogAPI.sln
verbosity: minimal
test_script:
- ps: >-
.\packages\OpenCover.4.5.3723\OpenCover.Console.exe -register:user -target:nunit-console.exe -register:user "-targetargs:""test\GenericBlogAPI.Core.Tests\bin\$env:CONFIGURATION\GenericBlogAPI.Core.Tests.dll" "test\GenericBlogAPI.Tests\bin\$env:CONFIGURATION\GenericBlogAPI.Tests.dll"" /noshadow" -filter:"+[GenericBlogAPI*]*" -output:opencoverCoverage.xml
.\packages\coveralls.net.0.5.0\csmacnz.Coveralls.exe --opencover -i opencoverCoverage.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