<commit_before>version: "master-{build}"

os: Windows Server 2012
platform:
  - x64

environment:
  bundle_gemfile: ci.gemfile

  matrix:
    - ruby_version: "24"
      chef_version: "~> 13.0"

    - ruby_version: "24"
      chef_version: "master"

clone_folder: c:\projects\knife-windows
clone_depth: 1
branches:
  only:
    - master

install:
  - winrm quickconfig -q
  - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
  - echo %PATH%
  - ruby --version
  - gem --version
  - gem install bundler -v 1.11.2 --quiet --no-ri --no-rdoc
  - bundler --version

build_script:
  - bundle install || bundle install || bundle install

test_script:
  - bundle exec rake<commit_msg>appveyor fix for ohai-15 dependency on ruby-2.5<commit_after>version: "master-{build}"

os: Windows Server 2012
platform:
  - x64

environment:
  bundle_gemfile: ci.gemfile

  matrix:
    - ruby_version: "24"
      chef_version: "~> 13.0"

    - ruby_version: "25"
      chef_version: "master"

clone_folder: c:\projects\knife-windows
clone_depth: 1
branches:
  only:
    - master

install:
  - winrm quickconfig -q
  - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
  - echo %PATH%
  - ruby --version
  - gem --version
  - gem install bundler -v 1.11.2 --quiet --no-ri --no-rdoc
  - bundler --version

build_script:
  - bundle install || bundle install || bundle install

test_script:
  - bundle exec rake
{'fraction_non_alphanumeric': 0.12938596491228072, 'fraction_numerical': 0.029239766081871343, 'mean_word_length': 2.867231638418079, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '2426183', 'n_tokens_mistral': 538, 'n_tokens_neox': 489, 'n_words': 125}