<commit_before>﻿trigger:
  branches:
    include: [ '*' ]
    exclude: [ 'refs/tags/*' ]

pool:
  vmImage: 'VS2017-Win2016'

steps:
- task: DotNetCoreInstaller@0
  inputs: 
    version: '3.0.100-preview-009990'

- powershell: |
    .\build.ps1 --target=CI --artifact-dir='$(Build.ArtifactStagingDirectory)'
  displayName: CI-Build

- task: PublishTestResults@2
  displayName: Save test results
  condition: succeededOrFailed()
  inputs:
    testRunner: VSTest
    testResultsFiles: '**/*.trx'

- task: PublishBuildArtifacts@1
  displayName: Save package artifacts
  inputs:
    PathtoPublish: $(Build.ArtifactStagingDirectory)
    ArtifactName: Package

- task: NuGetCommand@2
  displayName: Publish to internal nuget feed
  inputs:
    command: push
    nuGetFeedType: internal<commit_msg>Fixing build command<commit_after>trigger:
  branches:
    include: [ '*' ]
    exclude: [ 'refs/tags/*' ]

pool:
  vmImage: 'VS2017-Win2016'

steps:
- task: DotNetCoreInstaller@0
  inputs: 
    version: '3.0.100-preview-009990'

- powershell: .\build.ps1 -target=CI -Verbosity Verbose -artifact-dir='$(Build.ArtifactStagingDirectory)'
  displayName: CI-Build

- task: PublishTestResults@2
  displayName: Save test results
  condition: succeededOrFailed()
  inputs:
    testRunner: VSTest
    testResultsFiles: '**/*.trx'

- task: PublishBuildArtifacts@1
  displayName: Save package artifacts
  inputs:
    PathtoPublish: $(Build.ArtifactStagingDirectory)
    ArtifactName: Package

- task: NuGetCommand@2
  displayName: Publish to internal nuget feed
  inputs:
    command: push
    nuGetFeedType: internal
{'fraction_non_alphanumeric': 0.11458985597996243, 'fraction_numerical': 0.03005635566687539, 'mean_word_length': 3.9781931464174454, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2533753', 'n_tokens_mistral': 571, 'n_tokens_neox': 540, 'n_words': 117}