<commit_before>version: 'build-{build}'

image: Visual Studio 2017

pull_requests:
  do_not_increment_build_number: true

clone_depth: 1

nuget:
  disable_publish_on_pr: true

environment:
  DOTNET_CLI_TELEMETRY_OPTOUT: 1

configuration:
- Release

platform: Any CPU

init:
- cmd: git config --global core.autocrlf true
- ps: $Env:NUGET_VERSION = "1.0.0-preview1-" + $Env:APPVEYOR_BUILD_NUMBER.PadLeft(5, "0")
- ps: if(-not $env:APPVEYOR_PULL_REQUEST_NUMBER) { $env:is_not_pr = "true"; }

install:
- pip install codecov 

dotnet_csproj:
  patch: true
  file: '**\*.csproj'
  version: $(nuget_version)
  package_version: $(nuget_version)

before_build:
- appveyor-retry dotnet restore -v Minimal

build:
 project: SourceCode.Chasm.sln
 verbosity: minimal

test_script:
- ps: .\GenerateTestSolution.ps1 .\SourceCode.Chasm.sln
- >-
    OpenCover.Console.exe
    -target:"dotnet.exe"
    -targetargs:"test SourceCode.Chasm.Tests.sln -c %CONFIGURATION% --no-build"
    -filter:"+[*]* -[*.Tests]*"
    -output:"%APPVEYOR_BUILD_FOLDER%\coverage.xml"
    -excludebyattribute:*.ExcludeFromCodeCoverage*
    -oldStyle
    -register:user
    -mergebyhash
    -hideskipped:File

after_test:
- >-
    codecov 
    -X gcov 
    -f "%APPVEYOR_BUILD_FOLDER%\coverage.xml"<commit_msg>Dummy change<commit_after>version: 'build-{build}'

image: Visual Studio 2017

pull_requests:
  do_not_increment_build_number: true

clone_depth: 1

nuget:
  disable_publish_on_pr: true

environment:
  DOTNET_CLI_TELEMETRY_OPTOUT: 1

configuration:
- Release

platform: Any CPU

init:
- cmd: git config --global core.autocrlf true
- ps: $Env:NUGET_VERSION = "1.0.0-preview1-" + $Env:APPVEYOR_BUILD_NUMBER.PadLeft(5, "0")
- ps: if(-not $env:APPVEYOR_PULL_REQUEST_NUMBER) { $env:is_not_pr = "true"; }

install:
- pip install codecov 

dotnet_csproj:
  patch: true
  file: '**\*.csproj'
  version: $(nuget_version)
  package_version: $(nuget_version)
  
before_build:
- appveyor-retry dotnet restore -v Minimal

build:
 project: SourceCode.Chasm.sln
 verbosity: minimal
 
test_script:
- ps: .\GenerateTestSolution.ps1 .\SourceCode.Chasm.sln
- >-
    OpenCover.Console.exe
    -target:"dotnet.exe"
    -targetargs:"test SourceCode.Chasm.Tests.sln -c %CONFIGURATION% --no-build"
    -filter:"+[*]* -[*.Tests]*"
    -output:"%APPVEYOR_BUILD_FOLDER%\coverage.xml"
    -excludebyattribute:*.ExcludeFromCodeCoverage*
    -oldStyle
    -register:user
    -mergebyhash
    -hideskipped:File

after_test:
- >-
    codecov 
    -X gcov 
    -f "%APPVEYOR_BUILD_FOLDER%\coverage.xml"
{'fraction_non_alphanumeric': 0.1332807570977918, 'fraction_numerical': 0.01025236593059937, 'mean_word_length': 4.023762376237624, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '3160639', 'n_tokens_mistral': 1033, 'n_tokens_neox': 989, 'n_words': 176}