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

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

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

# Install scripts. (runs after repo cloning)
install:
  - git rev-parse HEAD
  # Get the latest stable version of Node 0.STABLE.latest
  - ps: Install-Product node $env:nodejs_version
  # hide python so node-gyp won't try to build native extentions
  - rename C:\Python27 Python27hidden
  # Typical npm stuff.
  - md C:\nc
  - yarn --ignore-optional

cache:
 - "%LOCALAPPDATA%\\Yarn"

# Post-install test scripts.
test_script:
  # Output useful info for debugging.
  - yarn versions
  - cmd: yarn ember try:one ember-release
  - cmd: yarn ember try:one integrated-node-tests

# Don't actually build.
build: off

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

# We build PRs, but don't trigger separate builds for the PR from the branch.
branches:
  only:
    - master

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

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

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

# Install scripts. (runs after repo cloning)
install:
  - git rev-parse HEAD
  # Get the latest stable version of Node 0.STABLE.latest
  - ps: Install-Product node $env:nodejs_version
  # hide python so node-gyp won't try to build native extentions
  - rename C:\Python27 Python27hidden
  # Typical npm stuff.
  - md C:\nc
  - yarn --ignore-optional

cache:
 - "%LOCALAPPDATA%\\Yarn"

# Post-install test scripts.
test_script:
  # Output useful info for debugging.
  - yarn versions
  - cmd: yarn ember try:one ember-release
  - cmd: yarn ember try:one integrated-node-tests

# Don't actually build.
build: off

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

# We build PRs, but don't trigger separate builds for the PR from the branch.
branches:
  only:
    - master

# Skip commits that include only Markdown files. There's no reason to trigger a
# build for docs-only changes More details here: /docs/appveyor-yml
skip_commits:
 files:
   - '**/*.md'

Exclude docs-only commits from AppVeyor builds.
Exclude docs-only commits from AppVeyor builds.

Fixes #149
