<commit_before>os: Visual Studio 2015

environment:
  RUST_BACKTRACE: 1
  matrix:
    - PLATFORM: x64
      NODEJS_VERSION: "4"
      RUST_TOOLCHAIN: stable-x86_64-pc-windows-msvc
    - PLATFORM: x64
      NODEJS_VERSION: "6"
      RUST_TOOLCHAIN: stable-x86_64-pc-windows-msvc
    - PLATFORM: x64
      NODEJS_VERSION: "8"
      RUST_TOOLCHAIN: stable-x86_64-pc-windows-msvc
    - PLATFORM: x64
      NODEJS_VERSION: "4"
      RUST_TOOLCHAIN: beta-x86_64-pc-windows-msvc
    - PLATFORM: x64
      NODEJS_VERSION: "6"
      RUST_TOOLCHAIN: beta-x86_64-pc-windows-msvc
    - PLATFORM: x64
      NODEJS_VERSION: "8"
      RUST_TOOLCHAIN: beta-x86_64-pc-windows-msvc
    - PLATFORM: x64
      NODEJS_VERSION: "4"
      RUST_TOOLCHAIN: nightly-x86_64-pc-windows-msvc
    - PLATFORM: x64
      NODEJS_VERSION: "6"
      RUST_TOOLCHAIN: nightly-x86_64-pc-windows-msvc
    - PLATFORM: x64
      NODEJS_VERSION: "8"
      RUST_TOOLCHAIN: nightly-x86_64-pc-windows-msvc

install:
  - ps: Install-Product node $env:NODEJS_VERSION $env:PLATFORM
  - npm config set msvs_version 2015
  - node -e "console.log(process.argv[0], process.arch, process.versions)"
  - curl -sSf -o rustup-init.exe https://win.rustup.rs
  - rustup-init.exe -y --default-toolchain %RUST_TOOLCHAIN%
  - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
  - rustup show
  - rustc -V
  - cargo -V

build: false

test_script:
  - cd cli && npm install && npm run transpile && cd ..
  - cd test/cli && npm install && npm run transpile && npm test && cd ../..
  - cd test/dynamic && npm install && npm test && cd ../..
  - if %RUST_TOOLCHAIN% == nightly-x86_64-pc-windows-msvc (cd test/static && cargo test && cd ../..)

cache:
  - target
  - C:\Users\appveyor\.cargo\registry<commit_msg>run static tests in `--release` mode<commit_after>os: Visual Studio 2015

environment:
  RUST_BACKTRACE: 1
  matrix:
    - PLATFORM: x64
      NODEJS_VERSION: "4"
      RUST_TOOLCHAIN: stable-x86_64-pc-windows-msvc
    - PLATFORM: x64
      NODEJS_VERSION: "6"
      RUST_TOOLCHAIN: stable-x86_64-pc-windows-msvc
    - PLATFORM: x64
      NODEJS_VERSION: "8"
      RUST_TOOLCHAIN: stable-x86_64-pc-windows-msvc
    - PLATFORM: x64
      NODEJS_VERSION: "4"
      RUST_TOOLCHAIN: beta-x86_64-pc-windows-msvc
    - PLATFORM: x64
      NODEJS_VERSION: "6"
      RUST_TOOLCHAIN: beta-x86_64-pc-windows-msvc
    - PLATFORM: x64
      NODEJS_VERSION: "8"
      RUST_TOOLCHAIN: beta-x86_64-pc-windows-msvc
    - PLATFORM: x64
      NODEJS_VERSION: "4"
      RUST_TOOLCHAIN: nightly-x86_64-pc-windows-msvc
    - PLATFORM: x64
      NODEJS_VERSION: "6"
      RUST_TOOLCHAIN: nightly-x86_64-pc-windows-msvc
    - PLATFORM: x64
      NODEJS_VERSION: "8"
      RUST_TOOLCHAIN: nightly-x86_64-pc-windows-msvc

install:
  - ps: Install-Product node $env:NODEJS_VERSION $env:PLATFORM
  - npm config set msvs_version 2015
  - node -e "console.log(process.argv[0], process.arch, process.versions)"
  - curl -sSf -o rustup-init.exe https://win.rustup.rs
  - rustup-init.exe -y --default-toolchain %RUST_TOOLCHAIN%
  - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
  - rustup show
  - rustc -V
  - cargo -V

build: false

test_script:
  - cd cli && npm install && npm run transpile && cd ..
  - cd test/cli && npm install && npm run transpile && npm test && cd ../..
  - cd test/dynamic && npm install && npm test && cd ../..
  - if %RUST_TOOLCHAIN% == nightly-x86_64-pc-windows-msvc (cd test/static && cargo test --release && cd ../..)

cache:
  - target
  - C:\Users\appveyor\.cargo\registry
{'fraction_non_alphanumeric': 0.12923427270139481, 'fraction_numerical': 0.04383717620267578, 'mean_word_length': 2.671891327063741, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '1618079', 'n_tokens_mistral': 1527, 'n_tokens_neox': 1372, 'n_words': 273}