<commit_before>version: "{build}"
clone_depth: 10

platform:
  - x86
  - x64

notifications:
  - provider: Email
    to:
      - <EMAIL>
      - <EMAIL>
    on_build_status_changed: true

install:
  - tzutil /s "Tokyo Standard Time"

build_script:
  - ps: |
      if ($Env:PLATFORM -eq "x86")
      {
        $Env:PATH = "C:\Ruby22\bin;$Env:PATH"
        $Env:CMAKE_GENERATOR_NAME = "Visual Studio 12 2013"
      }
      else
      {
        $Env:PATH = "C:\Ruby22-x64\bin;$Env:PATH"
        $Env:CMAKE_GENERATOR_NAME = "Visual Studio 12 2013 Win64"
      }
  - git submodule update --init
  - cmake . -G "%CMAKE_GENERATOR_NAME%" -DCMAKE_INSTALL_PREFIX=c:\groonga
  - cmake --build . --config Debug
  - cmake --build . --config Debug --target Install

before_test:
  - gem install grntest
test_script:
  - SET GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE=%APPVEYOR_BUILD_FOLDER%\test\command\tmp\synonyms.tsv
  - grntest --groonga c:\groonga\bin\groonga.exe --base-directory test\command --reporter stream test\command\suite<commit_msg>appveyor: use more workers<commit_after>version: "{build}"
clone_depth: 10

platform:
  - x86
  - x64

notifications:
  - provider: Email
    to:
      - <EMAIL>
      - <EMAIL>
    on_build_status_changed: true

install:
  - tzutil /s "Tokyo Standard Time"

build_script:
  - ps: |
      if ($Env:PLATFORM -eq "x86")
      {
        $Env:PATH = "C:\Ruby22\bin;$Env:PATH"
        $Env:CMAKE_GENERATOR_NAME = "Visual Studio 12 2013"
      }
      else
      {
        $Env:PATH = "C:\Ruby22-x64\bin;$Env:PATH"
        $Env:CMAKE_GENERATOR_NAME = "Visual Studio 12 2013 Win64"
      }
  - git submodule update --init
  - cmake . -G "%CMAKE_GENERATOR_NAME%" -DCMAKE_INSTALL_PREFIX=c:\groonga
  - cmake --build . --config Debug
  - cmake --build . --config Debug --target Install

before_test:
  - gem install grntest
test_script:
  - SET GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE=%APPVEYOR_BUILD_FOLDER%\test\command\tmp\synonyms.tsv
  - grntest --groonga c:\groonga\bin\groonga.exe --base-directory test\command --reporter stream --n-workers 4 test\command\suite
{'fraction_non_alphanumeric': 0.128660585693711, 'fraction_numerical': 0.027364378300528083, 'mean_word_length': 2.714795008912656, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '1941157', 'n_tokens_mistral': 849, 'n_tokens_neox': 781, 'n_words': 156}