<commit_before>version: 1.0.0.{build}

skip_tags: true

configuration: DebugNoVsix

init:
  - git config --global core.autocrlf true

clone_folder: c:\projects\code-cracker

shallow_clone: false

clone_depth: 5

environment:
  COVERALLS_REPO_TOKEN:
    secure: <KEY>

before_build:
  - ps: >-
      $env:path="C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files (x86)\Microsoft SDKs\F#\4.0\Framework\v4.0\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.1;C:\Program Files (x86)\MSBuild\14.0\bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools;C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\VCPackages;C:\Program Files (x86)\HTML Help Workshop;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools;C:\Program Files (x86)\Windows Kits\8.1\bin\x86;C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.1\;$env:path"

      . .\build.ps1 Prepare-Build


build_script:
  - ps: . .\build.ps1 Build-Only


after_build:
  - ps: >-
      . .\build.ps1 Pack-Nuget

test_script:
  - ps: >-
      . .\build.ps1 Test


after_test:
  - ps: >-
      . ".\test\CSharp\AnalyzeCecil.ps1"


artifacts:
  - path: src
    name: src
  - path: test
    name: test
  - path: log
    name: log

deploy:
- provider: NuGet
  api_key:
    secure: <KEY>
  skip_symbols: true
  on:
    branch: release
- provider: NuGet
  server: https://www.myget.org/F/codecrackerbuild/api/v2/package
  api_key:
    secure: <KEY>
  skip_symbols: true
  on:
    branch: master
- provider: NuGet
  server: https://www.myget.org/F/codecrackerbuild/api/v2/package
  api_key:
    secure: <KEY>
  skip_symbols: true
  on:
    branch: vnext

notifications:
- provider: Email
  to:
  - <EMAIL>
  - <EMAIL>
  - <EMAIL>
  subject: CodeCracker Build
  on_build_success: false
  on_build_failure: true
  on_build_status_changed: true
<commit_msg>Add Slack integration<commit_after>version: 1.0.0.{build}

skip_tags: true

configuration: DebugNoVsix

init:
  - git config --global core.autocrlf true

clone_folder: c:\projects\code-cracker

shallow_clone: false

clone_depth: 5

environment:
  COVERALLS_REPO_TOKEN:
    secure: <KEY>

before_build:
  - ps: >-
      $env:path="C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files (x86)\Microsoft SDKs\F#\4.0\Framework\v4.0\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.1;C:\Program Files (x86)\MSBuild\14.0\bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools;C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\VCPackages;C:\Program Files (x86)\HTML Help Workshop;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Performance Tools;C:\Program Files (x86)\Windows Kits\8.1\bin\x86;C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.1\;$env:path"

      . .\build.ps1 Prepare-Build


build_script:
  - ps: . .\build.ps1 Build-Only


after_build:
  - ps: >-
      . .\build.ps1 Pack-Nuget

test_script:
  - ps: >-
      . .\build.ps1 Test


after_test:
  - ps: >-
      . ".\test\CSharp\AnalyzeCecil.ps1"


artifacts:
  - path: src
    name: src
  - path: test
    name: test
  - path: log
    name: log

deploy:
- provider: NuGet
  api_key:
    secure: <KEY>
  skip_symbols: true
  on:
    branch: release
- provider: NuGet
  server: https://www.myget.org/F/codecrackerbuild/api/v2/package
  api_key:
    secure: <KEY>
  skip_symbols: true
  on:
    branch: master
- provider: NuGet
  server: https://www.myget.org/F/codecrackerbuild/api/v2/package
  api_key:
    secure: <KEY>
  skip_symbols: true
  on:
    branch: vnext

notifications:
- provider: Email
  to:
  - <EMAIL>
  - <EMAIL>
  - <EMAIL>
  subject: CodeCracker Build
  on_build_success: false
  on_build_failure: false
  on_build_status_changed: true
- provider: Slack
  auth_token:
    secure: <KEY>
  channel: general
  on_build_success: false
  on_build_failure: false
  on_build_status_changed: true
{'fraction_non_alphanumeric': 0.13992271710392515, 'fraction_numerical': 0.04067520846044336, 'mean_word_length': 3.5748837209302327, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 26, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, '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': '3455971', 'n_tokens_mistral': 1952, 'n_tokens_neox': 1823, 'n_words': 353}