<commit_before>---
image: Visual Studio 2017

version: "{build}"

install:
  # Binary taken from http://w858rkbfg.homepage.t-online.de/index.php/software/ragel-windows/,
  # rehosted on AWS so it doesn't randomly vanish.
  - vcpkg install ragel
  - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
  - bundle install --retry 3

cache: C:\tools\vcpkg\installed\

build: off

before_test:
  - ruby --version
  - gem --version
  - bundle --version

test_script:
  - rake

environment:
  matrix:
    - ruby_version: "22"
    - ruby_version: "22-x64"
    - ruby_version: "23"
    - ruby_version: "23-x64"
    - ruby_version: "24"
    - ruby_version: "24-x64"
<commit_msg>Try adding vcpkg bin/ to the PATH<commit_after>---
image: Visual Studio 2017

version: "{build}"

install:
  - if "%platform%"=="Win32" set VCPKG_ARCH=x86-windows
  - if "%platform%"=="x64"   set VCPKG_ARCH=x64-windows
  - vcpkg install ragel:%VCPKG_ARCH%
  - SET PATH=C:\tools\vcpkg\installed\%VCPKG_ARCH%\bin;%PATH%
  - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
  - bundle install --retry 3

cache: C:\tools\vcpkg\installed

build: off

before_test:
  - ragel --version
  - ruby --version
  - gem --version
  - bundle --version

test_script:
  - rake

environment:
  matrix:
    - ruby_version: "22"
    - ruby_version: "22-x64"
    - ruby_version: "23"
    - ruby_version: "23-x64"
    - ruby_version: "24"
    - ruby_version: "24-x64"

{'fraction_non_alphanumeric': 0.14949928469241774, 'fraction_numerical': 0.0407725321888412, 'mean_word_length': 2.9857549857549857, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1913270', 'n_tokens_mistral': 609, 'n_tokens_neox': 535, 'n_words': 118}