<commit_before>version: 1.2.1.{build}
branches:
  only:
  - develop
  - master
skip_tags: true
configuration: Release
platform: Any CPU

assembly_info:
  patch: true
  file: '**\AssemblyInfo.*'
  assembly_version: '{version}'
  assembly_file_version: '{version}'
  assembly_informational_version: '{version}'

environment:
  COVERALLS_REPO_TOKEN:
    secure: <KEY>

before_build:
- nuget restore

build:
  project: MegaApiClient.sln
  verbosity: minimal

after_build:
- nuget pack MegaApiClient.nuspec

test_script:
  - ps: packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -targetdir:MegaApiClient.Tests -target:nunit3-console.exe "-targetargs:""bin\$env:CONFIGURATION\MegaApiClient.Tests.dll"" --result=""$env:APPVEYOR_BUILD_FOLDER\myresults.xml;format=AppVeyor"" --workers=1" -returntargetcode "-filter:+[*]CG.Web.MegaApiClient* -[MegaApiClient.Tests]*" -output:opencoverCoverage.xml
  - ps: |
      if(-not $env:APPVEYOR_PULL_REQUEST_NUMBER)
      {
        packages\coveralls.net.0.6.0\tools\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
      }

artifacts:
- path: MegaApiClient.*.nupkg
  name: MegaApiClient package

deploy: off<commit_msg>Add NUnit results to artifacts<commit_after>version: 1.2.1.{build}
branches:
  only:
  - develop
  - master
skip_tags: true
configuration: Release
platform: Any CPU

assembly_info:
  patch: true
  file: '**\AssemblyInfo.*'
  assembly_version: '{version}'
  assembly_file_version: '{version}'
  assembly_informational_version: '{version}'

environment:
  COVERALLS_REPO_TOKEN:
    secure: <KEY>

before_build:
- nuget restore

build:
  project: MegaApiClient.sln
  verbosity: minimal

after_build:
- nuget pack MegaApiClient.nuspec

test_script:
  - ps: packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -targetdir:MegaApiClient.Tests -target:nunit3-console.exe "-targetargs:""bin\$env:CONFIGURATION\MegaApiClient.Tests.dll"" --result=""$env:APPVEYOR_BUILD_FOLDER\myresults.xml;format=AppVeyor"" --workers=1" -returntargetcode "-filter:+[*]CG.Web.MegaApiClient* -[MegaApiClient.Tests]*" -output:opencoverCoverage.xml
  - ps: |
      if(-not $env:APPVEYOR_PULL_REQUEST_NUMBER)
      {
        packages\coveralls.net.0.6.0\tools\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
      }

after_test:
  - appveyor PushArtifact "$env:APPVEYOR_BUILD_FOLDER\myresults.xml" -DeploymentName "NUnit results"

artifacts:
- path: MegaApiClient.*.nupkg
  name: MegaApiClient package

deploy: off
{'fraction_non_alphanumeric': 0.1229322088874473, 'fraction_numerical': 0.008433344145313007, 'mean_word_length': 5.319672131147541, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 7}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5232744', 'n_tokens_mistral': 1193, 'n_tokens_neox': 1163, 'n_words': 174}