From bbdbec6da6ef1cdd78940ccc1edf184de45b87f7 Mon Sep 17 00:00:00 2001 From: Alex LaFroscia Date: Fri, 8 Apr 2016 23:35:02 -0400 Subject: [PATCH] Add Appveyor configuration Closes #83 --- README.md | 2 +- appveyor.yml | 21 +++++++++++++++++++++ package.json | 2 +- 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 appveyor.yml diff --git a/README.md b/README.md index 1a4e7ab2..01cb7405 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ember-ajax [![Build Status](https://travis-ci.org/ember-cli/ember-ajax.svg)](https://travis-ci.org/ember-cli/ember-ajax) [![Ember Observer Score](http://emberobserver.com/badges/ember-ajax.svg)](http://emberobserver.com/addons/ember-ajax) +# ember-ajax [![Travis CI Build Status](https://travis-ci.org/ember-cli/ember-ajax.svg)](https://travis-ci.org/ember-cli/ember-ajax) ![AppVeyor Build Stauts](https://ci.appveyor.com/api/projects/status/github/ember-cli/ember-ajax?branch=master&svg=true) [![Ember Observer Score](http://emberobserver.com/badges/ember-ajax.svg)](http://emberobserver.com/addons/ember-ajax) Service for making AJAX requests in Ember 1.13+ applications. diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 00000000..e0498d28 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,21 @@ +# http://www.appveyor.com/docs/appveyor-yml + +install: + - npm install phantomjs-prebuilt + - npm install -g bower + - npm install + - bower install + +cache: + - 'bower_components' + - 'node_modules' + - 'APPDATA%\npm-cache' + +test_script: + - cmd: npm test + +# Don't actually build. +build: off + +# Set build version format here instead of in the admin panel. +version: "{build}" diff --git a/package.json b/package.json index 9307410e..cff2c20b 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "scripts": { "build": "ember build", "start": "ember server", - "test": "ember try:testall" + "test": "ember test" }, "repository": "ember-cli/ember-ajax", "engines": {