Skip to content

Commit

Permalink
add appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanpenner committed Jun 2, 2017
1 parent 07de228 commit 2374b13
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
@@ -1,5 +1,7 @@
# ember-disable-prototype-extensions

[![Build status](https://ci.appveyor.com/api/projects/status/xvg1fxk24lh5u0eg/branch/master?svg=true)](https://ci.appveyor.com/project/embercli/ember-disable-prototype-extensions/branch/master)

Including this addon will disable Ember's prototype extensions.

This is a great idea for addon authors to ensure that their addon does not accidentally depend upon prototype extensions (which may be disabled in a consuming application).
Expand Down
40 changes: 40 additions & 0 deletions appveyor.yml
@@ -0,0 +1,40 @@
# https://www.appveyor.com/docs/appveyor-yml/

# Test against these versions of Node.js.
environment:
MOCHA_REPORTER: "mocha-appveyor-reporter"
matrix:
- nodejs_version: "4"
- nodejs_version: "6"
- nodejs_version: "7"
- nodejs_version: "8"

branches:
only:
- master
- beta
- release

# Install scripts. (runs after repo cloning)
install:
- ps: Install-Product node $env:nodejs_version
- appveyor-retry npm i -g npm@^3
- appveyor-retry choco install phantomjs
- appveyor-retry yarn
- appveyor-retry yarn add mocha-appveyor-reporter # must be installed locally.

cache:
- '%LOCALAPPDATA%\Yarn'
- '%APPDATA%\Roaming\bower'

# Post-install test scripts.
test_script:
# Output useful info for debugging.
- git rev-parse HEAD
- cmd: yarn run test

# Don't actually build.
build: off

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

0 comments on commit 2374b13

Please sign in to comment.