# http://www.appveyor.com/docs/appveyor-yml

environment:
  matrix:
  - PHANTOM_SRC: "npm"
  - PHANTOM_SRC: "chocolatey"

# Install scripts. (runs after repo cloning)
install:
  # Get the latest stable version of io.js
  - ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild 2)
  - npm version
  - npm install
  # Install PhantomJS
  - IF %PHANTOM_SRC%==npm npm install -g phantomjs
  - IF %PHANTOM_SRC%==chocolatey cinst PhantomJS -y
  - phantomjs -v

# Post-install test scripts.
test_script:
  - cmd: npm test

# Don't actually build.
build: off

# Set build version format here instead of in the admin panel.
version: "{build}"

# http://www.appveyor.com/docs/appveyor-yml

environment:
  matrix:
  - PHANTOM_SRC: "npm"
  - PHANTOM_SRC: "chocolatey"

# Install scripts. (runs after repo cloning)
install:
  # Get the latest stable version of nodejs
  - ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild 4)
  - npm version
  - npm install
  # Install PhantomJS
  - IF %PHANTOM_SRC%==npm npm install -g phantomjs
  - IF %PHANTOM_SRC%==chocolatey cinst PhantomJS -y
  - phantomjs -v

# Post-install test scripts.
test_script:
  - cmd: npm test

# Don't actually build.
build: off

# Set build version format here instead of in the admin panel.
version: "{build}"

Use nodejs 4 on Windows
Use nodejs 4 on Windows
