Skip to content

Commit

Permalink
Updated test command to reflect OpenCover and coveralls integration
Browse files Browse the repository at this point in the history
  • Loading branch information
chintans committed Sep 1, 2016
1 parent be7f616 commit 5edf66c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,13 @@ build:
parallel: true
verbosity: minimal
test_script:
- cmd: '".\Slack.Automation\packages\xunit.runner.console.2.1.0\tools\xunit.console.exe" ".\Slack.Automation\Promact.Core.Test\bin\Release\Promact.Core.Test.dll" -appveyor'
- ps: >-
.\Slack.Automation\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -target:".\Slack.Automation\packages\xunit.runner.console.2.1.0\tools\xunit.console.exe" "-targetargs:"".\Slack.Automation\Promact.Core.Test\bin\Release\Promact.Core.Test.dll"" -appveyor -noshadow" -filter:"+[Promact.Core.Repository*]*" -output:opencoverCoverage.xml
$coveralls = (Resolve-Path "Slack.Automation/packages/coveralls.net.*/tools/csmacnz.coveralls.exe").ToString()
& $coveralls --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
deploy: off

0 comments on commit 5edf66c

Please sign in to comment.