Add Windows CI

This commit is contained in:
vladikoff 2014-06-07 15:54:35 -07:00
parent 074233cd62
commit 568f01f5d5
2 changed files with 31 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# grunt-contrib-jasmine v0.7.0-pre [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-jasmine.png?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-jasmine)
# grunt-contrib-jasmine v0.7.0-pre [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-jasmine.png?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-jasmine) <a href="https://ci.appveyor.com/project/gruntjs/grunt-contrib-jasmine"><img src="https://ci.appveyor.com/api/projects/status/5985958by5rhnh31/branch/master" alt="Build Status: Windows" height="18" /></a>
> Run jasmine specs headlessly through PhantomJS.
@ -312,4 +312,4 @@ for more information on the RequireJS template.
Task submitted by [Jarrod Overson](http://jarrodoverson.com)
*This file was generated on Sat Jun 07 2014 15:09:25.*
*This file was generated on Sat Jun 07 2014 15:54:17.*

29
appveyor.yml Normal file
View File

@ -0,0 +1,29 @@
# appveyor file
# http://www.appveyor.com/docs/appveyor-yml
project_id: "5985958by5rhnh31"
# build version format
version: "{build}"
# fix lineendings in Windows
init:
- git config --global core.autocrlf input
# what combinations to test
environment:
matrix:
- nodejs_version: 0.10
# Get the latest stable version of Node 0.STABLE.latest
install:
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)
- npm install -g grunt-cli
- npm install
build: off
test_script:
- node --version
- npm --version
- ps: grunt test --no-color # PowerShell
- cmd: grunt test --no-color