<commit_before>skip_non_tags: false
#test: off
image: Visual Studio 2019
configuration: Release

dotnet_csproj:
  patch: true
  file: '**\*.csproj'
  version: '{version}'
  package_version: '{version}'
  assembly_version: '{version}'
  file_version: '{version}'
  informational_version: '{version}'

init:
  - set PATH=C:\Program Files\Java\jdk15\bin;%PATH%

install:
  - ps: Switch-DockerLinux
  - ps: dotnet tool install -g GitVersion.Tool
  - ps: dotnet tool install -g dotnet-format
  - ps: dotnet tool install -g dotnet-sonarscanner -v:m --version 5.0.4

before_build:
  - nuget restore
 # - ps: dotnet format --check --dry-run
  - ps: dotnet gitversion /l console /output buildserver
  - ps: dotnet sonarscanner begin /d:sonar.host.url=https://sonarcloud.io /d:sonar.login=e220dd372506f00fe34923f011ea45f8568e9bcc /k:mariotoffia_FluentDocker /o:mariotoffia /v:"$env:APPVEYOR_BUILD_NUMBER" /d:sonar.cs.opencover.reportsPaths="./output/coverage.opencover.xml" /d:sonar.coverage.exclusions="**Tests*.cs"
  - ps: $env:good_to_deploy="true"
  - ps: if (Test-Path env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH) {echo "Not going to deploy because pull request."}
  - ps: if (Test-Path env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH) {$env:good_to_deploy="false"}<commit_msg>sonarproblems - set java_home<commit_after>skip_non_tags: false
#test: off
image: Visual Studio 2019
configuration: Release

dotnet_csproj:
  patch: true
  file: '**\*.csproj'
  version: '{version}'
  package_version: '{version}'
  assembly_version: '{version}'
  file_version: '{version}'
  informational_version: '{version}'

init:
  - set PATH=C:\Program Files\Java\jdk15\bin;%PATH%
  - set JAVA_HOME_11_X64=C:\Program Files\Java\jdk15
  - set JAVA_HOME=C:\Program Files\Java\jdk15

install:
  - ps: Switch-DockerLinux
  - ps: dotnet tool install -g GitVersion.Tool
  - ps: dotnet tool install -g dotnet-format
  - ps: dotnet tool install -g dotnet-sonarscanner -v:m

before_build:
  - nuget restore
 # - ps: dotnet format --check --dry-run
  - ps: dotnet gitversion /l console /output buildserver
  - ps: dotnet sonarscanner begin /d:sonar.host.url=https://sonarcloud.io /d:sonar.login=<PASSWORD> /k:mariotoffia_FluentDocker /o:mariotoffia /v:"$env:APPVEYOR_BUILD_NUMBER" /d:sonar.cs.opencover.reportsPaths="./output/coverage.opencover.xml" /d:sonar.coverage.exclusions="**Tests*.cs"
  - ps: $env:good_to_deploy="true"
  - ps: if (Test-Path env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH) {echo "Not going to deploy because pull request."}
  - ps: if (Test-Path env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH) {$env:good_to_deploy="false"}
{'fraction_non_alphanumeric': 0.13494809688581316, 'fraction_numerical': 0.018838908112264515, 'mean_word_length': 4.795100222717149, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '169025', 'n_tokens_mistral': 1035, 'n_tokens_neox': 990, 'n_words': 201}