<commit_before>environment:
  GITHUB_TOKEN:
    secure: <KEY>
  matrix:
    - nodejs_version: "4"
      deploy: "true"

platform:
  - x64
  - x86

build: off

install:
  - ps: Install-Product node $env:nodejs_version $env:platform
  - npm install

test_script:
  - node --version
  - npm --version
  - appveyor-retry call npm test<commit_msg>Appveyor: Run electron tests<commit_after>environment:
  GITHUB_TOKEN:
    secure: <KEY>
  matrix:
    - nodejs_version: "4"
      deploy: "true"
    - nodejs_version: "5"
      electron: "0.37.8"
      rebuild: "false"
    - nodejs_version: "6"
      electron: "1.1.3"
      rebuild: "false"
    - nodejs_version: "6"
      electron: "1.4.3"
      rebuild: "true"

platform:
  - x64
  - x86

build: off

install:
  - ps: Install-Product node $env:nodejs_version $env:platform
  - npm install
  - IF DEFINED ELECTRON (npm install electron-prebuilt@%ELECTRON%)
  - IF "%REBUILD%"=="true" (npm rebuild zmq-prebuilt --runtime=electron --target=%ELECTRON% --disturl=https://atom.io/download/atom-shell --build-from-source)


test_script:
  - IF "%ELECTRON%"=="" (appveyor-retry call npm test) ELSE (appveyor-retry call npm run test:electron)
{'fraction_non_alphanumeric': 0.13740458015267176, 'fraction_numerical': 0.019508057675996608, 'mean_word_length': 3.0273037542662116, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2298508', 'n_tokens_mistral': 457, 'n_tokens_neox': 437, 'n_words': 101}