<commit_before>version: 0.1.{build}
configuration: Release
assembly_info:
  patch: true
  file: '**\AssemblyInfo.*'
  assembly_version: '{version}'
  assembly_file_version: '{version}'
  assembly_informational_version: '{version}'
skip_commits:
  message: /\[AssemblyVersion AutoUpdate\]/
environment:
  COVERALLS_REPO_TOKEN:
    secure: <KEY>
  GITHUB_ACCESS_TOKEN:
    secure: bmd3VXFi5vf+gUn96rmWpE3NtP8Cvdf3BhWcOe/cUH+MXrP+M66NSKsQH8NTPl+a
nuget:
  project_feed: true
before_build:
- dotnet restore Pluralize.NET.sln
- nuget install NUnit.Runners -Version 3.6.1 -OutputDirectory testrunner
- nuget install OpenCover -Version 4.6.519 -OutputDirectory opencover
- nuget install coveralls.net -Version 0.7.0 -OutputDirectory coveralls
build_script:
  - cmd: dotnet build Pluralize.NET.sln --configuration Release
test_script:
- ps: |
     $nunitrunner = "./testrunner/NUnit.ConsoleRunner.3.6.1/tools/nunit3-console.exe"
     $opencover = "./opencover/OpenCover.4.6.519/tools/OpenCover.Console.exe" 
     $coveralls = "./coveralls/coveralls.net.0.7.0/tools/csmacnz.coveralls.exe"
     & $opencover -register:user -target:$nunitrunner -targetargs:"Pluralize.NET.Tests/bin/Release/Pluralize.NET.Tests.dll"  -filter:"+[Pluralize.NET*]*-[Pluralize.NET.Tests*]*" -output:opencoverCoverage.xml -returntargetcode
     if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode)  }
     $env:APPVEYOR_BUILD_NUMBER
     & $coveralls --opencover -i opencoverCoverage.xml --repoToken $env:COVERALLS_REPO_TOKEN --useRelativePaths --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_BUILD_NUMBER --serviceName appveyor
artifacts:
- path: Pluralize.NET/bin/Release/*
  name: Binaries
deploy:
- provider: NuGet
  api_key:
    secure: <KEY>
  skip_symbols: true
  artifact: /.*\.nupkg/
  on:
    APPVEYOR_REPO_TAG: true
- provider: GitHub
  release: Pluralize.NET v$(appveyor_build_version)
  description: Download the latest Pluralize.NET.dll file and add it to your Project references.\n\nOR\n\nInstall from NuGet via package manager console by running:\n\n```\nInstall-Package Pluralize.NET -Version $(appveyor_build_version)\n```\nOR install the latest version by running:\n```\nInstall-Package Pluralize.NET\n```
  auth_token:
    secure: <KEY>
  artifact: Binaries
  force_update: true
  tag: v$(appveyor_build_version)
  on:
    APPVEYOR_REPO_TAG: true
on_success:
  - git config --global credential.helper store
  - ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:GITHUB_ACCESS_TOKEN):x-oauth-basic@github.com`n"
  - git config --global user.email "sarathkcm<EMAIL>"
  - git config --global user.name "sarathkcm"<commit_msg>Fixes for tests<commit_after>version: 0.1.{build}
configuration: Release
assembly_info:
  patch: true
  file: '**\AssemblyInfo.*'
  assembly_version: '{version}'
  assembly_file_version: '{version}'
  assembly_informational_version: '{version}'
skip_commits:
  message: /\[AssemblyVersion AutoUpdate\]/
environment:
  COVERALLS_REPO_TOKEN:
    secure: <KEY>
  GITHUB_ACCESS_TOKEN:
    secure: bmd3VXFi5vf+gUn96rmWpE3NtP8Cvdf3BhWcOe/cUH+MXrP+M66NSKsQH8NTPl+a
nuget:
  project_feed: true
before_build:
- dotnet restore Pluralize.NET.sln
- nuget install NUnit.Runners -Version 3.6.1 -OutputDirectory testrunner
- nuget install OpenCover -Version 4.6.519 -OutputDirectory opencover
- nuget install coveralls.net -Version 0.7.0 -OutputDirectory coveralls
build_script:
  - cmd: dotnet build Pluralize.NET.sln --configuration Release
test_script:
- ps: |
     $nunitrunner = "./testrunner/NUnit.ConsoleRunner.3.6.1/tools/nunit3-console.exe"
     $opencover = "./opencover/OpenCover.4.6.519/tools/OpenCover.Console.exe" 
     $coveralls = "./coveralls/coveralls.net.0.7.0/tools/csmacnz.coveralls.exe"
     & $opencover -register:user -target:$nunitrunner -targetargs:"Pluralize.NET.Tests/bin/Release/netstandard2.0/Pluralize.NET.Tests.dll"  -filter:"+[Pluralize.NET*]*-[Pluralize.NET.Tests*]*" -output:opencoverCoverage.xml -returntargetcode
     if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode)  }
     $env:APPVEYOR_BUILD_NUMBER
     & $coveralls --opencover -i opencoverCoverage.xml --repoToken $env:COVERALLS_REPO_TOKEN --useRelativePaths --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_BUILD_NUMBER --serviceName appveyor
artifacts:
- path: Pluralize.NET/bin/Release
  name: Binaries
deploy:
- provider: NuGet
  api_key:
    secure: <KEY>
  skip_symbols: true
  artifact: /.*\.nupkg/
  on:
    APPVEYOR_REPO_TAG: true
- provider: GitHub
  release: Pluralize.NET v$(appveyor_build_version)
  description: Download the latest Pluralize.NET.dll file and add it to your Project references.\n\nOR\n\nInstall from NuGet via package manager console by running:\n\n```\nInstall-Package Pluralize.NET -Version $(appveyor_build_version)\n```\nOR install the latest version by running:\n```\nInstall-Package Pluralize.NET\n```
  auth_token:
    secure: <KEY>
  artifact: Binaries
  force_update: true
  tag: v$(appveyor_build_version)
  on:
    APPVEYOR_REPO_TAG: true
on_success:
  - git config --global credential.helper store
  - ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:GITHUB_ACCESS_TOKEN):<EMAIL>`n"
  - git config --global user.email "<EMAIL>"
  - git config --global user.name "sarathkcm"
{'fraction_non_alphanumeric': 0.12360939431396786, 'fraction_numerical': 0.013067278827476603, 'mean_word_length': 4.797338792221085, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1618050', 'n_tokens_mistral': 2137, 'n_tokens_neox': 2072, 'n_words': 379}