Add AppVeyor for Windows testing.

pull/499/head
XhmikosR 9 years ago
parent d3d8c01b25
commit 5e155ec260

@ -1,4 +1,4 @@
# grunt-contrib-watch v1.0.0 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-watch.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-watch)
# grunt-contrib-watch v1.0.0 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-watch.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-watch) [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/olyu3uhcq59avm8v/branch/master?svg=true)](https://ci.appveyor.com/project/gruntjs/grunt-contrib-watch/branch/master)
> Run predefined tasks whenever watched file patterns are added, changed or deleted
@ -511,4 +511,4 @@ You'll have the `connect` web server on seperate port ex: port 9000 from your ma
Task submitted by [Kyle Robinson Young](http://dontkry.com)
*This file was generated on Sat Mar 12 2016 14:08:17.*
*This file was generated on Thu Mar 17 2016 19:29:27.*

@ -0,0 +1,44 @@
# http://www.appveyor.com/docs/appveyor-yml
clone_depth: 10
version: "{build}"
# What combinations to test
environment:
matrix:
- nodejs_version: "0.10"
platform: x86
- nodejs_version: "0.12"
platform: x86
- nodejs_version: "4"
platform: x64
- nodejs_version: "4"
platform: x86
- nodejs_version: "5"
platform: x86
install:
- ps: Install-Product node $env:nodejs_version $env:platform
- ps: >-
if ($env:nodejs_version -eq "0.10") {
npm -g install npm@3
$env:PATH="$env:APPDATA\npm;$env:PATH"
}
- npm install
test_script:
# Output useful info for debugging
- node --version && npm --version
# We test multiple Windows shells because of prior stdout buffering issues
# filed against Grunt. https://github.com/joyent/node/issues/3584
- ps: "npm test # PowerShell" # Pass comment to PS for easier debugging
- cmd: npm test
build: off
matrix:
fast_finish: true
cache:
- node_modules -> package.json

@ -37,5 +37,6 @@
],
"files": [
"tasks"
]
],
"appveyor_id": "olyu3uhcq59avm8v"
}

Loading…
Cancel
Save