<commit_before>branches:
  # whitelist
  only:
    - build

image: Visual Studio 2017 RC

install:
- ps: (new-object Net.WebClient).DownloadString("https://raw.github.com/dzimchuk/ExtensionScripts/master/AppVeyor/vsix.ps1") | iex

before_build:
  - ps: Vsix-IncrementVsixVersion | Vsix-UpdateBuildVersion
  - ps: Vsix-TokenReplacement ExperimentalTools.Vsix\source.extension.cs 'Version = "([0-9\\.]+)"' 'Version = "{version}"'

build_script:
  - dotnet --info
  - dotnet restore
  - nuget restore -Verbosity quiet
  - msbuild /p:configuration=Release /p:DeployExtension=false /p:ZipPackageCompressionLevel=normal /v:m

after_test:
  - ps: Vsix-PushArtifacts | Vsix-PublishToGallery<commit_msg>switched back to build master branch only<commit_after>branches:
  # whitelist
  only:
    - master

image: Visual Studio 2017 RC

install:
- ps: (new-object Net.WebClient).DownloadString("https://raw.github.com/dzimchuk/ExtensionScripts/master/AppVeyor/vsix.ps1") | iex

before_build:
  - ps: Vsix-IncrementVsixVersion | Vsix-UpdateBuildVersion
  - ps: Vsix-TokenReplacement ExperimentalTools.Vsix\source.extension.cs 'Version = "([0-9\\.]+)"' 'Version = "{version}"'

build_script:
  - dotnet --info
  - dotnet restore
  - nuget restore -Verbosity quiet
  - msbuild /p:configuration=Release /p:DeployExtension=false /p:ZipPackageCompressionLevel=normal /v:m

after_test:
  - ps: Vsix-PushArtifacts | Vsix-PublishToGallery
{'fraction_non_alphanumeric': 0.12844036697247707, 'fraction_numerical': 0.009880028228652082, 'mean_word_length': 4.474903474903475, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6759904', 'n_tokens_mistral': 508, 'n_tokens_neox': 491, 'n_words': 91}