<commit_before># configuration for "master" branch
# build in Release mode and deploy to Azure
-
  branches:
    only:
      - master
  configuration: Release
  version: 0.0.{build}
  assembly_info:
    patch: true
    file: '**\AssemblyInfo.*'
    assembly_version: '{version}'
    assembly_file_version: '{version}'
    assembly_informational_version: '{version}'

  install:
    - cmd: nuget restore source\Contrib.sln
  before_build:
    - ps: .\updatenuspecversion.ps1
  build:
    project: source\Contrib.sln\Contrib.sln
    publish_nuget: true
    verbosity: minimal
  test:
    assemblies:
      - '**\*.tests.dll'
  deploy:
    provider: NuGet
    api_key:
      secure: <KEY>
    artifact: /.*\.nupkg/

# configuration for all branches starting from "dev-"
# build in Debug mode and deploy locally for testing
-
  branches:
    only:
      - dev

  configuration: Debug
  version: 0.1.{build}-pre
  assembly_info:
    patch: true
    file: '**\AssemblyInfo.*'
    assembly_version: '{version}'
    assembly_file_version: '{version}'
    assembly_informational_version: '{version}'

  install:
    - cmd: nuget restore source\Contrib.sln
  before_build:
    - ps: .\updatenuspecversion.ps1
  build:
    project: source\Contrib.sln
    publish_nuget: true
    verbosity: minimal
  test:
    assemblies:
      - '**\*.tests.dll'
  deploy:
    provider: NuGet
    api_key:
      secure: <KEY>
    artifact: /.*\.nupkg/

# "fall back" configuration for all other branches
# no "branches" section defined
# do not deploy at all
-
  configuration: Debug
  version: 0.1.{build}-unspecified
  assembly_info:
    patch: true
    file: '**\AssemblyInfo.*'
    assembly_version: '{version}'
    assembly_file_version: '{version}'
    assembly_informational_version: '{version}'

  install:
    - cmd: nuget restore source\Contrib.sln
  before_build:
    - ps: .\updatenuspecversion.ps1
  build:
    project: source\Contrib.sln
    publish_nuget: false
    verbosity: minimal
  test:
    assemblies:
      - '**\*tests.dll'
      -<commit_msg>xunit console runner<commit_after># configuration for "master" branch
# build in Release mode and deploy to Azure
-
  branches:
    only:
      - master
  configuration: Release
  version: 0.0.{build}
  assembly_info:
    patch: true
    file: '**\AssemblyInfo.*'
    assembly_version: '{version}'
    assembly_file_version: '{version}'
    assembly_informational_version: '{version}'

  install:
    - cmd: nuget restore source\Contrib.sln
  before_build:
    - ps: .\updatenuspecversion.ps1
  build:
    project: source\Contrib.sln\Contrib.sln
    publish_nuget: true
    verbosity: minimal
  test:
    assemblies:
      - '**\*.tests.dll'
  deploy:
    provider: NuGet
    api_key:
      secure: <KEY>
    artifact: /.*\.nupkg/

# configuration for all branches starting from "dev-"
# build in Debug mode and deploy locally for testing
-
  branches:
    only:
      - dev

  configuration: Debug
  version: 0.1.{build}-pre
  assembly_info:
    patch: true
    file: '**\AssemblyInfo.*'
    assembly_version: '{version}'
    assembly_file_version: '{version}'
    assembly_informational_version: '{version}'

  install:
    - cmd: nuget restore source\Contrib.sln
  before_build:
    - ps: .\updatenuspecversion.ps1
  build:
    project: source\Contrib.sln
    publish_nuget: true
    verbosity: minimal
  test:
    assemblies:
      - '**\*.tests.dll'
  deploy:
    provider: NuGet
    api_key:
      secure: <KEY>
    artifact: /.*\.nupkg/

# "fall back" configuration for all other branches
# no "branches" section defined
# do not deploy at all
-
  configuration: Debug
  version: 0.1.{build}-unspecified
  assembly_info:
    patch: true
    file: '**\AssemblyInfo.*'
    assembly_version: '{version}'
    assembly_file_version: '{version}'
    assembly_informational_version: '{version}'

  install:
    - cmd: nuget restore source\Contrib.sln
  before_build:
    - ps: .\updatenuspecversion.ps1
  build:
    project: source\Contrib.sln
    publish_nuget: false
    verbosity: minimal
  test_script:
    - xunit.console.clr4.exe source\Unittests\bin\Debug\Unittests.dll /appveyor
    - xunit.console.clr4.x86.exe source\Unittests\bin\Debug\Unittests.dll /appveyor
{'fraction_non_alphanumeric': 0.11425178147268408, 'fraction_numerical': 0.005225653206650831, 'mean_word_length': 2.950281425891182, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '2518723', 'n_tokens_mistral': 1433, 'n_tokens_neox': 1381, 'n_words': 338}