# Test against this version of Node.js
# environment:
#   nodejs_version: "0.10"
cache:
- C:\apache-ant-1.9.6-bin.zip

environment:
  ANDROID_HOME: C:\Program Files (x86)\Android\android-sdk
  ANT_HOME: C:\apache-ant-1.9.6
  WIX_HOME: C:\Program Files (x86)\WiX Toolset v3.10

# 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
  - cd \
  - appveyor DownloadFile http://www.eu.apache.org/dist//ant/binaries/apache-ant-1.9.6-bin.zip
  - 7z x apache-ant-1.9.6-bin.zip > nul
  - set PATH=%ANDROID_HOME%\tools;%PATH%;%ANT_HOME%\bin;%WIX_HOME%\bin
  - cd %APPVEYOR_BUILD_FOLDER%
  - npm install

# Post-install test scripts.
test_script:
  # Output useful info for debugging.
  - node --version
  - npm --version
  # run tests
  - npm test

# Don't actually build.
build: off

Enable CI on Windows hosts with Appveyor
Enable CI on Windows hosts with Appveyor
