<commit_before># Copyright (c) 2018 Simply Code Ltd. All rights reserved.
# Licensed under the MIT License.
# See LICENSE file in the project root for full license information.

version: 1.0.{build}
image: Visual Studio 2017
environment:
  matrix:
  - CONFIG: Debug
  - CONFIG: Release
build_script:
- msbuild /t:restore /m PackIt.sln
- dotnet restore PackIt.sln
- dotnet build PackIt.sln --configuration %CONFIG% /p:DocumentationFile=codedoc.xml /p:StyleCopEnabled=true
- 7z a codedocs.zip codedoc.xml -r
test_script:
- '"%UserProfile%\.nuget\packages\opencover\4.7.922\tools\opencover.console" -register:user -output:coverage.xml -target:dotnet.exe -targetargs:"test PackItLib\test\PackItLib.Test.csproj --configuration %CONFIG% --no-build --logger:trx" -oldstyle -mergeoutput'
- '"%UserProfile%\.nuget\packages\opencover\4.7.922\tools\opencover.console" -register:user -output:coverage.xml -target:dotnet.exe -targetargs:"test PackIt\test\PackIt.Test.csproj       --configuration %CONFIG% --no-build --logger:trx" -oldstyle'
- '"%UserProfile%\.nuget\packages\opencover\4.7.922\tools\opencover.console" -register:user -output:coverage.xml -target:dotnet.exe -targetargs:"test PackItUI\test\PackItUI.Test.csproj   --configuration %CONFIG% --no-build --logger:trx" -oldstyle -mergeoutput'
- '"%UserProfile%\.nuget\packages\reportgenerator\4.1.8\tools\net47\ReportGenerator.exe" "-reports:coverage.xml" "-targetdir:.\coverage"'
- 7z a coverage.zip coverage\*.*
artifacts:
- path: coverage.zip
  name: Coverage
- path: codedocs.zip
  name: Code documentation
notifications:
- provider: Slack
  incoming_webhook: https://hooks.slack.com/services/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
  channel: packer
  on_build_success: true
  on_build_failure: true
  on_build_status_changed: false<commit_msg>appveyor build vs2017 vs2019 and ubuntu1804<commit_after># Copyright (c) 2018 Simply Code Ltd. All rights reserved.
# Licensed under the MIT License.
# See LICENSE file in the project root for full license information.

version: 1.0.{build}
image:
- Visual Studio 2017
- Visual Studio 2019
- Ubuntu1804
environment:
  DOTNET_CLI_TELEMETRY_OPTOUT: true
  DOTNET_PRINT_TELEMETRY_MESSAGE: false
  ASPNETCORE_ENVIRONMENT: Development
  matrix:
  - CONFIG: Debug
  - CONFIG: Release
build_script:
- msbuild /t:restore /m PackIt.sln
- dotnet restore PackIt.sln
- cmd: dotnet build PackIt.sln --configuration %CONFIG% /p:DocumentationFile=codedoc.xml /p:StyleCopEnabled=true
- sh:  dotnet build PackIt.sln --configuration $CONFIG  /p:DocumentationFile=codedoc.xml /p:StyleCopEnabled=true
- 7z a codedocs.zip codedoc.xml -r
test_script:
- cmd: '"%UserProfile%/.nuget/packages/opencover/4.7.922/tools/opencover.console" -register:user -output:coverage.xml -target:dotnet.exe -targetargs:"test PackItLib/test/PackItLib.Test.csproj --configuration %CONFIG% --no-build --logger:trx" -oldstyle -mergeoutput'
- sh:  '"$UserProfile/.nuget/packages/opencover/4.7.922/tools/opencover.console"  -register:user -output:coverage.xml -target:dotnet.exe -targetargs:"test PackItLib/test/PackItLib.Test.csproj --configuration $CONFIG  --no-build --logger:trx" -oldstyle -mergeoutput'
- cmd: '"%UserProfile%/.nuget/packages/opencover/4.7.922/tools/opencover.console" -register:user -output:coverage.xml -target:dotnet.exe -targetargs:"test PackIt/test/PackIt.Test.csproj       --configuration %CONFIG% --no-build --logger:trx" -oldstyle'
- sh:  '"$UserProfile/.nuget/packages/opencover/4.7.922/tools/opencover.console"  -register:user -output:coverage.xml -target:dotnet.exe -targetargs:"test PackIt/test/PackIt.Test.csproj       --configuration $CONFIG  --no-build --logger:trx" -oldstyle'
- cmd: '"%UserProfile%/.nuget/packages/opencover/4.7.922/tools/opencover.console" -register:user -output:coverage.xml -target:dotnet.exe -targetargs:"test PackItUI/test/PackItUI.Test.csproj   --configuration %CONFIG% --no-build --logger:trx" -oldstyle -mergeoutput'
- sh:  '"$UserProfile/.nuget/packages/opencover/4.7.922/tools/opencover.console"  -register:user -output:coverage.xml -target:dotnet.exe -targetargs:"test PackItUI/test/PackItUI.Test.csproj   --configuration $CONFIG  --no-build --logger:trx" -oldstyle -mergeoutput'
- cmd: '"%UserProfile%/.nuget/packages/reportgenerator/4.1.8/tools/net47/ReportGenerator.exe" "-reports:coverage.xml" "-targetdir:./coverage"'
- sh:  '"$UserProfile/.nuget/packages/reportgenerator/4.1.8/tools/net47/ReportGenerator.exe"  "-reports:coverage.xml" "-targetdir:./coverage"'
- cmd: 7z a coverage.zip coverage/*.*
- sh:  7z a coverage.zip coverage/*.*
artifacts:
- path: coverage.zip
  name: Coverage
- path: codedocs.zip
  name: Code documentation
notifications:
- provider: Slack
  incoming_webhook: https://hooks.slack.com/services/T6CB<KEY>
  channel: packer
  on_build_success: true
  on_build_failure: true
  on_build_status_changed: false
{'fraction_non_alphanumeric': 0.14050267820354348, 'fraction_numerical': 0.024721878862793572, 'mean_word_length': 4.619212962962963, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 17}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1487518', 'n_tokens_mistral': 1783, 'n_tokens_neox': 1679, 'n_words': 323}