environment:
  matrix:
    - nodejs_version: Current
      platform: x64

install:
  - ps: Install-Product node $env:nodejs_version $env:platform
  - set CI=true
  - npm install --global npm@latest
  - set PATH=%APPDATA%\npm;%PATH%
  - npm install
  - npm install -g gulp istanbul codeclimate-test-reporter
  - npm install ogg-packet

matrix:
  fast_finish: true

# Disable automatic builds
build: off

# Do not build on gh tags
skip_tags: true
shallow_clone: true

test_script:
  - node --version
  - npm --version
  - npm test

cache:
  - '%APPDATA%\npm-cache'
  - node_modules -> package.json
