<commit_before>notifications:
  - provider: Webhook
    url: https://webhook.commit-email.info/

version: "{build}"
clone_depth: 10

environment:
  matrix:
    - VS_VERSION: 12
      ARCH: x86
    - VS_VERSION: 12
      ARCH: amd64
    - VS_VERSION: 14
      ARCH: x86
    - VS_VERSION: 14
      ARCH: amd64
    - VS_VERSION: 15
      ARCH: x86
      VCVARS: 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat'
    - VS_VERSION: 15
      ARCH: amd64
      VCVARS: 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat'

# matrix:
#   allow_failures:
#     - VS_VERSION: 12
#       ARCH: x86

init:
  - ps: Set-WinSystemLocale ja-JP
  - ps: Start-Sleep -s 10
  - ps: Restart-Computer

install:
  - set PATH=C:\Ruby25-x64\bin;%PATH%
  - set PATH=C:\msys64\usr\bin;%PATH%
  - if "%VS_VERSION%" == "15"
    call %VCVARS%
  - if not "%VS_VERSION%" == "15"
    call
    "C:\Program Files (x86)\Microsoft Visual Studio %VS_VERSION%.0\VC\vcvarsall.bat"
    %ARCH%
  # - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
  - tzutil /s "Tokyo Standard Time"
  # - choco install -y imdisk-toolkit
  # - mkdir tmp
  # - imdisk -a -t file -m tmp -o awe -s 1G -p "/fs:ntfs /q /y"
  - set GROONGA_INSTALL_SUB_FOLDER=インストール
  - ps: |
      $Env:GROONGA_VERSION = (Get-Content base_version)
      if ($Env:APPVEYOR_REPO_TAG -eq "false") {
        $Env:GROONGA_VERSION += "-" + $Env:APPVEYOR_REPO_COMMIT.Substring(0, 7)
      }<commit_msg>Revert "appveyor: fix unexpected )"<commit_after>notifications:
  - provider: Webhook
    url: https://webhook.commit-email.info/

version: "{build}"
clone_depth: 10

environment:
  matrix:
    - VS_VERSION: 12
      ARCH: x86
    - VS_VERSION: 12
      ARCH: amd64
    - VS_VERSION: 14
      ARCH: x86
    - VS_VERSION: 14
      ARCH: amd64
    - VS_VERSION: 15
      ARCH: x86
    - VS_VERSION: 15
      ARCH: amd64

# matrix:
#   allow_failures:
#     - VS_VERSION: 12
#       ARCH: x86

init:
  - ps: Set-WinSystemLocale ja-JP
  - ps: Start-Sleep -s 10
  - ps: Restart-Computer

install:
  - set PATH=C:\Ruby25-x64\bin;%PATH%
  - set PATH=C:\msys64\usr\bin;%PATH%
  - if "%VS_VERSION%" == "15" if "%ARCH" == "x86" (
      call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
    )
  - if "%VS_VERSION%" == "15" if "%ARCH" == "amd64" (
      call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
    )
  - if not "%VS_VERSION%" == "15" (
      call
      "C:\Program Files (x86)\Microsoft Visual Studio %VS_VERSION%.0\VC\vcvarsall.bat"
      %ARCH%
    )
  # - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
  - tzutil /s "Tokyo Standard Time"
  # - choco install -y imdisk-toolkit
  # - mkdir tmp
  # - imdisk -a -t file -m tmp -o awe -s 1G -p "/fs:ntfs /q /y"
  - set GROONGA_INSTALL_SUB_FOLDER=インストール
  - ps: |
      $Env:GROONGA_VERSION = (Get-Content base_version)
      if ($Env:APPVEYOR_REPO_TAG -eq "false") {
        $Env:GROONGA_VERSION += "-" + $Env:APPVEYOR_REPO_COMMIT.Substring(0, 7)
      }
{'fraction_non_alphanumeric': 0.1487477092241906, 'fraction_numerical': 0.04153940134392181, 'mean_word_length': 2.683914510686164, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '6044656', 'n_tokens_mistral': 1423, 'n_tokens_neox': 1274, 'n_words': 265}