<commit_before>version: 2.0.{build}
clone_depth: 2
configuration: Release

environment:
  JAVA_HOME: C:\Program Files (x86)\Java\jdk1.8.0
  ES_VERSION: 1.4.4
  MONGO_VERSION: 2.6.8
  API_URL: https://#{api.hostheader}
  OCTOPUS_API_URL: https://deploy.codesmithtools.com/api
  OCTOPUS_API_KEY:
    <KEY>

init:
  - git config --global core.autocrlf true

install:
  - ps: $env:GIT_HASH=$env:APPVEYOR_REPO_COMMIT.Substring(0, 10)

assembly_info:
  patch: true
  file: Source\GlobalAssemblyInfo.cs
  assembly_version: "{version}.0"
  assembly_file_version: "{version}.0"
  assembly_informational_version: "{version} $env:GIT_HASH"

before_build:
  - nuget restore -verbosity quiet

build:
  verbosity: minimal

before_test:
  - ps: .\Libraries\Start-MongoDb.ps1
  - ps: .\Libraries\Start-ElasticSearch.ps1
#  - ps: .\Libraries\Enable-Rdp.ps1

after_test:
  - nuget pack .\Source\Api\Exceptionless.Api.nuspec -Version $env:APPVEYOR_BUILD_VERSION -NoPackageAnalysis
  - nuget install OctopusTools
  - ps: '&(ls .\OctopusTools*\Octo.exe) create-release --project="Exceptionless Master" --version "$env:APPVEYOR_BUILD_VERSION" --server "$env:OCTOPUS_API_URL" --apiKey "$env:OCTOPUS_API_KEY" --deployto Dev --progress'

artifacts:
  - path: 'Source\Api\*.nupkg'
<commit_msg>Attempt 1000<commit_after>version: 2.0.{build}
clone_depth: 2
configuration: Release

environment:
  JAVA_HOME: C:\Program Files (x86)\Java\jdk1.8.0
  ES_VERSION: 1.4.4
  MONGO_VERSION: 2.6.8
  API_URL: https://#{api.hostheader}
  OCTOPUS_API_URL: https://deploy.codesmithtools.com/api
  OCTOPUS_API_KEY:
    secure: <KEY>

init:
  - git config --global core.autocrlf true

install:
  - ps: $env:GIT_HASH=$env:APPVEYOR_REPO_COMMIT.Substring(0, 10)

assembly_info:
  patch: true
  file: Source\GlobalAssemblyInfo.cs
  assembly_version: "{version}.0"
  assembly_file_version: "{version}.0"
  assembly_informational_version: "{version} $env:GIT_HASH"

before_build:
  - nuget restore -verbosity quiet

build:
  verbosity: minimal

before_test:
  - ps: .\Libraries\Start-MongoDb.ps1
  - ps: .\Libraries\Start-ElasticSearch.ps1
#  - ps: .\Libraries\Enable-Rdp.ps1

after_test:
  - nuget pack .\Source\Api\Exceptionless.Api.nuspec -Version "$env:APPVEYOR_BUILD_VERSION" -NoPackageAnalysis
  - nuget install OctopusTools
  - ps: '&(ls .\OctopusTools*\Octo.exe) create-release --project="Exceptionless Master" --version "$env:APPVEYOR_BUILD_VERSION" --server "$env:OCTOPUS_API_URL" --apiKey "$env:OCTOPUS_API_KEY" --deployto Dev --progress'

artifacts:
  - path: 'Source\Api\*.nupkg'

{'fraction_non_alphanumeric': 0.13881242626818718, 'fraction_numerical': 0.018875344081793158, 'mean_word_length': 4.401273885350318, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '2790281', 'n_tokens_mistral': 1026, 'n_tokens_neox': 976, 'n_words': 174}