<commit_before>pull_requests:
  do_not_increment_build_number: true
environment:
  repo_token:
    secure: <KEY>
  snk_passphrase:
    <PASSWORD>: <KEY>
skip_branch_with_pr: true
image: Visual Studio 2017
configuration: Release
shallow_clone: true
artifacts:
- path: TGS3-Server-v*.exe
  name: TGS3Server
- path: MD5-SHA1-Server-v*.txt
  name: MD5SHA1Server
- path: TGS3-Client-v*.zip
  name: TGS3Client
- path: MD5-SHA1-Client-v*.txt
  name: MD5SHA1Client
cache:
  - packages -> **\packages.config
  - C:\ProgramData\chocolatey\bin -> appveyor.yml
  - C:\ProgramData\chocolatey\lib -> appveyor.yml
install:
  - choco install fciv doxygen.portable graphviz.portable opencover.portable codecov
before_build:
  - nuget restore TGStationServer3.sln
build:
  project: TGStationServer3.sln
  parallel: false
  verbosity: minimal
  publish_nuget: true
after_build:
  - ps: Tools/TGS3Build.ps1
  - ps: if($env:APPVEYOR_REPO_COMMIT_MESSAGE -match "\[TGSDeploy\]"){$env:TGSDeploy = "Do it."}
  - ps: $env:TGSVersion = [System.Diagnostics.FileVersionInfo]::GetVersionInfo("$env:APPVEYOR_BUILD_FOLDER/TGServerService/bin/Release/TGServerService.exe").FileVersion
test_script:
  - set path=%ProgramFiles(x86)%\Microsoft Visual Studio\2017\TestAgent\Common7\IDE\CommonExtensions\Microsoft\TestWindow;%path%
  - copy "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow\Extensions\appveyor.*" "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\TestAgent\Common7\IDE\CommonExtensions\Microsoft\TestWindow\Extensions" /y
  - vstest.console /logger:Appveyor "TGServiceTests\bin\Release\TGServiceTests.dll" /Enablecodecoverage /Settings:"Tools/CoverageExclusions.runsettings" /inIsolation /Platform:x64
after_test:
  - ps: Tools/UploadCoverage.ps1
  - ps: Tools/BuildDox.ps1
deploy:
  - provider: GitHub
    release: "tgstation-server-v$(TGSVersion)"
    description: 'The /tg/station server suite'
    auth_token:
      secure: <KEY>
    artifact: TGS3Server,MD5SHA1Server,TGS3Client,MD5SHA1Client
    draft: false
    on:
      TGSDeploy: "Do it."
  - provider: NuGet
    api_key:
      secure: <KEY>
    skip_symbols: true
    artifact: /.*\.nupkg/
    on:
      TGSDeploy: "Do it."
<commit_msg>Fix appveyor.yml not calling the post build script<commit_after>pull_requests:
  do_not_increment_build_number: true
environment:
  repo_token:
    secure: <KEY>
  snk_passphrase:
    secure: <KEY>
skip_branch_with_pr: true
image: Visual Studio 2017
configuration: Release
shallow_clone: true
artifacts:
- path: TGS3-Server-v*.exe
  name: TGS3Server
- path: MD5-SHA1-Server-v*.txt
  name: MD5SHA1Server
- path: TGS3-Client-v*.zip
  name: TGS3Client
- path: MD5-SHA1-Client-v*.txt
  name: MD5SHA1Client
cache:
  - packages -> **\packages.config
  - C:\ProgramData\chocolatey\bin -> appveyor.yml
  - C:\ProgramData\chocolatey\lib -> appveyor.yml
install:
  - choco install fciv doxygen.portable graphviz.portable opencover.portable codecov
before_build:
  - nuget restore TGStationServer3.sln
build:
  project: TGStationServer3.sln
  parallel: false
  verbosity: minimal
  publish_nuget: true
after_build:
  - ps: Tools/PostCIBuild.ps1
  - ps: if($env:APPVEYOR_REPO_COMMIT_MESSAGE -match "\[TGSDeploy\]"){$env:TGSDeploy = "Do it."}
  - ps: $env:TGSVersion = [System.Diagnostics.FileVersionInfo]::GetVersionInfo("$env:APPVEYOR_BUILD_FOLDER/TGServerService/bin/Release/TGServerService.exe").FileVersion
test_script:
  - set path=%ProgramFiles(x86)%\Microsoft Visual Studio\2017\TestAgent\Common7\IDE\CommonExtensions\Microsoft\TestWindow;%path%
  - copy "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow\Extensions\appveyor.*" "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\TestAgent\Common7\IDE\CommonExtensions\Microsoft\TestWindow\Extensions" /y
  - vstest.console /logger:Appveyor "TGServiceTests\bin\Release\TGServiceTests.dll" /Enablecodecoverage /Settings:"Tools/CoverageExclusions.runsettings" /inIsolation /Platform:x64
after_test:
  - ps: Tools/UploadCoverage.ps1
  - ps: Tools/BuildDox.ps1
deploy:
  - provider: GitHub
    release: "tgstation-server-v$(TGSVersion)"
    description: 'The /tg/station server suite'
    auth_token:
      secure: <KEY>
    artifact: TGS3Server,MD5SHA1Server,TGS3Client,MD5SHA1Client
    draft: false
    on:
      TGSDeploy: "Do it."
  - provider: NuGet
    api_key:
      secure: <KEY>
    skip_symbols: true
    artifact: /.*\.nupkg/
    on:
      TGSDeploy: "Do it."

{'fraction_non_alphanumeric': 0.11600777705767984, 'fraction_numerical': 0.02181896737956362, 'mean_word_length': 3.920297555791711, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 18, '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': '3248425', 'n_tokens_mistral': 1740, 'n_tokens_neox': 1624, 'n_words': 279}