# Test against this version of Node.js
environment:
  matrix:
    # node.js
    - nodejs_version: "0.10"
    - nodejs_version: "0.12"

# Install scripts. (runs after repo cloning)
install:
  # Get the latest stable version of Node.js or io.js
  - ps: Install-Product node $env:nodejs_version
  # install modules
  - npm install
  - npm i -g mocha
  - npm i -g coffee-script

# Post-install test scripts.
test_script:
  # run tests
  # - npm test --verbose --debug
  - mocha --compilers coffee:coffee-script/register --debug

# artifacts:
#   - path: ./junit/xunit.xml
#   - path: ./xunit.xml

# nothing to compile in this project
build: off
deploy: off
