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

# Fix line endings in Windows. (runs before repo cloning)
init:
  - git config --global core.autocrlf input

# Test against these versions of Node.js.
environment:
  matrix:
    - nodejs_version: "0.10"

install:
  # Get the latest stable version of Node 0.STABLE.latest
  - ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)
  - cmd: npm config set spin false
  - cmd: npm install -g npm@^2
  - cmd: npm install -g ember-cli@0.1.11 bower
  - cmd: ember install
  - cmd: nuget restore Klondike.sln -NonInteractive
  - cmd: npm run-script release

# Don't actually build.
build: off

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

artifacts:
  - path: .\dist
    name: Klondike
    type: zip

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

# Fix line endings in Windows. (runs before repo cloning)
init:
  - git config --global core.autocrlf input

# Test against these versions of Node.js.
environment:
  matrix:
    - nodejs_version: "0.10"

install:
  # Get the latest stable version of Node 0.STABLE.latest
  - ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)
  - cmd: npm config set spin false
  - cmd: npm install -g npm@^2
  - cmd: npm install -g ember-cli@0.1.11 bower
  - cmd: ember install
  - cmd: nuget restore Klondike.sln -NonInteractive
  - cmd: npm run-script release

# Don't actually build.
build: off

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

artifacts:
  - path: .\dist
    name: Klondike
    type: zip
  - path: build\TestResult.xml
    name: NUnit Report

Include nunit test results as artifact.
Include nunit test results as artifact.
