<commit_before>environment:
  AWS_ACCESS_KEY_ID:
    secure: <KEY>
  AWS_SECRET_ACCESS_KEY:
    secure: <KEY>
  matrix:
    - nodejs_version: "0.8.26"
    - nodejs_version: "0.10.29"
    # - nodejs_version: "0.11.13"

platform:
  - x86
  - x64

install:
  - SET PATH=C:\Program Files\7-Zip;%PATH%
  - SET PATH=C:\Python27;%PATH%
  - SET PATH=C:\Program Files (x86)\MSBuild\12.0\bin\;%PATH%
  - ps: Write-Output '$env:Platform:' $env:Platform
  - ps: Write-Output '$env:nodejs_version' $env:nodejs_version
  - ps: Start-FileDownload "https://mapnik.s3.amazonaws.com/dist/dev/libgdal_win_$env:Platform.7z"
  - 7z x libgdal_win_%PLATFORM%.7z
  - ps: Update-NodeJsInstallation $env:nodejs_version $env:Platform
  - node --version
  - npm --version
  - npm update -g npm
  - npm --version
  # because node-gyp bundled with node 0.8 doesn't know about --msvs_version=2013
  - npm install node-gyp
  - npm install https://github.com/naturalatlas/mocha/archive/fix/333.tar.gz
  - npm install --build-from-source --msvs_version=2013 --shared_gdal=c:/projects/node-gdal/libs/
  - npm test
  - node_modules\.bin\node-pre-gyp package
  - SET CM=%APPVEYOR_REPO_COMMIT_MESSAGE%<commit_msg>Delete bundled NPM on AppVeyor & use the one in %AppData%/npm<commit_after>environment:
  AWS_ACCESS_KEY_ID:
    secure: <KEY>
  AWS_SECRET_ACCESS_KEY:
    secure: <KEY>
  matrix:
    - nodejs_version: "0.8.26"
    - nodejs_version: "0.10.29"
    # - nodejs_version: "0.11.13"

platform:
  - x86
  - x64

install:
  - SET PATH=C:\Program Files\7-Zip;%PATH%
  - SET PATH=C:\Python27;%PATH%
  - SET PATH=C:\Program Files (x86)\MSBuild\12.0\bin\;%PATH%
  - ps: Write-Output '$env:Platform:' $env:Platform
  - ps: Write-Output '$env:nodejs_version' $env:nodejs_version
  - ps: Start-FileDownload "https://mapnik.s3.amazonaws.com/dist/dev/libgdal_win_$env:Platform.7z"
  - 7z x libgdal_win_%PLATFORM%.7z
  - ps: Update-NodeJsInstallation $env:nodejs_version $env:Platform
  - node --version
  - npm --version
  - npm install npm -g
  - DEL /F /Q C:\Program Files\nodejs\npm
  - DEL /F /Q C:\Program Files\nodejs\npm.cmd
  - npm --version
  # because node-gyp bundled with node 0.8 doesn't know about --msvs_version=2013
  - npm install node-gyp
  - npm install https://github.com/naturalatlas/mocha/archive/fix/333.tar.gz
  - npm install --build-from-source --msvs_version=2013 --shared_gdal=c:/projects/node-gdal/libs/
  - npm test
  - node_modules\.bin\node-pre-gyp package
  - SET CM=%APPVEYOR_REPO_COMMIT_MESSAGE%
{'fraction_non_alphanumeric': 0.1467631684760756, 'fraction_numerical': 0.03457981503819863, 'mean_word_length': 3.29706390328152, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '5578078', 'n_tokens_mistral': 1052, 'n_tokens_neox': 973, 'n_words': 182}