# Test against the latest version of this Node.js version
environment:
  COMMIT_AUTHOR_EMAIL: "hackzzila@gmail.com"
  nodejs_version: "7"
  access_token:
    secure: i7t+jao7gMVatAtlFqbQ/YmWoL7HfAzQ8ZVbR8H52lNrJN10WIHwmIXBI9l0M7jD

# 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 x64
  # install modules
  - npm install --ignore-scripts

# Post-install test scripts.
test_script:
  # Output useful info for debugging.
  - node --version
  - npm --version
  # Setup git
  - git config --global credential.helper store
  - ps: Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:access_token):x-oauth-basic@github.com`n"
  # Build
  - node deploy/windows.js

# Don't actually build.
build: off