<commit_before>environment:
  node_pre_gyp_accessKeyId:
    secure: <KEY>
  node_pre_gyp_secretAccessKey:
    secure: <KEY>
  matrix:
    - nodejs_version: 0.10.30
      nw_version: 0.8.6
      PLATFORM: x86
      msvs_toolset: 12
    - nodejs_version: 0.10.30
      nw_version: 0.8.6
      PLATFORM: x64
      msvs_toolset: 12
    - nodejs_version: 0.10.33
      nw_version: 0.8.6
      PLATFORM: x64
      msvs_toolset: 14
      TOOLSET_ARGS: --toolset=v140 --dist-url=https://s3.amazonaws.com/mapbox/node-cpp11/
      os: Visual Studio 2014 CTP4
    - nodejs_version: 0.11.13
      nw_version: 0.10.5
      PLATFORM: x86
      msvs_toolset: 12
    - nodejs_version: 0.11.13
      nw_version: 0.10.5
      PLATFORM: x64
      msvs_toolset: 12

install:
  - node -v
  # add local node to path (since we install it for msvs_toolset == 14)
  - SET PATH=%CD%;%PATH%;
  # add local node-pre-gyp dir to path
  - SET PATH=node_modules\.bin;%PATH%
  # use 64 bit python if platform is 64 bit
  - if "%PLATFORM%" == "x64" set PATH=C:\Python27-x64;%PATH%
  # install node version per visual studio toolset
  - ps: Write-Output "https://mapbox.s3.amazonaws.com/node-cpp11/v$env:nodejs_version/$env:Platform/node.exe"
  - if "%msvs_toolset%" == "12" powershell Install-Product node $env:nodejs_version $env:Platform
  - if "%msvs_toolset%" == "14" powershell Start-FileDownload "https://mapbox.s3.amazonaws.com/node-cpp11/v$env:nodejs_version/$env:Platform/node.exe"
  - node -v
  - node -e "console.log(process.argv)"
  - npm -v
  # upgrade node-gyp to support --msvs_version=2013
  - npm install node-gyp
  - SET PATH=C:\Program Files (x86)\MSBuild\%msvs_toolset%.0\bin;%PATH%
  - if %platform% == x64 CALL "C:\Program Files (x86)\Microsoft Visual Studio %msvs_toolset%.0\VC\vcvarsall.bat" amd64
  - if %platform% == x86 CALL "C:\Program Files (x86)\Microsoft Visual Studio %msvs_toolset%.0\VC\vcvarsall.bat" amd64_x86
  - npm install --build-from-source --msvs_version=2013 %TOOLSET_ARGS%
  - npm test
  - node-pre-gyp package %TOOLSET_ARGS%
  # make commit message env var shorter
  - SET CM=%APPVEYOR_REPO_COMMIT_MESSAGE%
  - if not "%CM%" == "%CM:[publish binary]=%" node-pre-gyp --msvs_version=2013 publish --loglevel=verbose %TOOLSET_ARGS%
  - if "%msvs_toolset%" == "12" call scripts\build_for_node_webkit.cmd %PLATFORM%

build: OFF
test: OFF
deploy: OFF
<commit_msg>install msvs 2014 vcredist so that our custom node.exe can run<commit_after>environment:
  node_pre_gyp_accessKeyId:
    secure: <KEY>
  node_pre_gyp_secretAccessKey:
    secure: <KEY>
  matrix:
    - nodejs_version: 0.10.30
      nw_version: 0.8.6
      PLATFORM: x86
      msvs_toolset: 12
    - nodejs_version: 0.10.30
      nw_version: 0.8.6
      PLATFORM: x64
      msvs_toolset: 12
    - nodejs_version: 0.10.33
      nw_version: 0.8.6
      PLATFORM: x64
      msvs_toolset: 14
      TOOLSET_ARGS: --toolset=v140 --dist-url=https://s3.amazonaws.com/mapbox/node-cpp11/
      os: Visual Studio 2014 CTP4
    - nodejs_version: 0.11.13
      nw_version: 0.10.5
      PLATFORM: x86
      msvs_toolset: 12
    - nodejs_version: 0.11.13
      nw_version: 0.10.5
      PLATFORM: x64
      msvs_toolset: 12

install:
  - node -v
  - npm -v
  # add local node to path (since we install it for msvs_toolset == 14)
  - SET PATH=%CD%;%PATH%;
  # add local node-pre-gyp dir to path
  - SET PATH=node_modules\.bin;%PATH%
  # use 64 bit python if platform is 64 bit
  - if "%PLATFORM%" == "x64" set PATH=C:\Python27-x64;%PATH%
  # install node version per visual studio toolset
  - if "%msvs_toolset%" == "12" powershell Install-Product node $env:nodejs_version $env:Platform
  - if "%msvs_toolset%" == "14" powershell Write-Output "fetching https://mapbox.s3.amazonaws.com/node-cpp11/v$env:nodejs_version/$env:Platform/node.exe"
  - if "%msvs_toolset%" == "14" powershell Start-FileDownload "https://mapbox.s3.amazonaws.com/node-cpp11/v$env:nodejs_version/$env:Platform/node.exe"
  - if "%msvs_toolset%" == "14" powershell Write-Output "https://mapbox.s3.amazonaws.com/node-cpp11/vcredist_$env:Platform.exe"
  - if "%msvs_toolset%" == "14" powershell Start-FileDownload "https://mapbox.s3.amazonaws.com/node-cpp11/vcredist_$env:Platform.exe"
  - if "%msvs_toolset%" == "14" .\vcredist_%platform%.exe /q /norestart
  - node -v
  - node -e "console.log(process.argv)"
  - npm -v
  # upgrade node-gyp to support --msvs_version=2013
  - npm install node-gyp
  - SET PATH=C:\Program Files (x86)\MSBuild\%msvs_toolset%.0\bin;%PATH%
  - if %platform% == x64 CALL "C:\Program Files (x86)\Microsoft Visual Studio %msvs_toolset%.0\VC\vcvarsall.bat" amd64
  - if %platform% == x86 CALL "C:\Program Files (x86)\Microsoft Visual Studio %msvs_toolset%.0\VC\vcvarsall.bat" amd64_x86
  - npm install --build-from-source --msvs_version=2013 %TOOLSET_ARGS%
  - npm test
  - node-pre-gyp package %TOOLSET_ARGS%
  # make commit message env var shorter
  - SET CM=%APPVEYOR_REPO_COMMIT_MESSAGE%
  - if not "%CM%" == "%CM:[publish binary]=%" node-pre-gyp --msvs_version=2013 publish --loglevel=verbose %TOOLSET_ARGS%
  - if "%msvs_toolset%" == "12" call scripts\build_for_node_webkit.cmd %PLATFORM%

build: OFF
test: OFF
deploy: OFF

{'fraction_non_alphanumeric': 0.13617021276595745, 'fraction_numerical': 0.05299806576402321, 'mean_word_length': 3.2948504983388704, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7265876', 'n_tokens_mistral': 2192, 'n_tokens_neox': 1953, 'n_words': 434}