From 0b49cf050723a088ca7b0cab04fddf667e0c7ca9 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 27 Feb 2015 10:08:09 +0200 Subject: [PATCH] Fix AppVeyor. --- .gitignore | 1 + README.md | 8 ++++---- appveyor.yml | 34 +++++++++++++++++++++------------- package.json | 3 ++- 4 files changed, 28 insertions(+), 18 deletions(-) diff --git a/.gitignore b/.gitignore index da02584..936d851 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ tmp junit .DS_Store .grunt +/_SpecRunner.html diff --git a/README.md b/README.md index 738eeb7..a9b3b77 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -# grunt-contrib-jasmine v0.8.2 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-jasmine.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-jasmine) +# grunt-contrib-jasmine v0.8.2 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-jasmine.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-jasmine) [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/5985958by5rhnh31/branch/master?svg=true)](https://ci.appveyor.com/project/gruntjs/grunt-contrib-jasmine/branch/master) > Run jasmine specs headlessly through PhantomJS. ## Getting Started -This plugin requires Grunt `~0.4.0` +This plugin requires Grunt `>=0.4.0` If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command: @@ -259,7 +259,7 @@ grunt.initConfig({ options: { specs: 'spec/*Spec.js', helpers: 'spec/*Helper.js', - template: require('exports-process.js'), + template: require('exports-process.js') vendor: [ "vendor/*.js", "http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js" @@ -322,4 +322,4 @@ for more information on the RequireJS template. Task submitted by [Jarrod Overson](http://jarrodoverson.com) -*This file was generated on Thu Jan 08 2015 16:18:55.* +*This file was generated on Fri Feb 27 2015 10:07:34.* diff --git a/appveyor.yml b/appveyor.yml index f28d0ff..71b259d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,29 +1,37 @@ -# appveyor file +# AppVeyor file # http://www.appveyor.com/docs/appveyor-yml -project_id: "5985958by5rhnh31" -# build version format +# Build version format version: "{build}" -# fix lineendings in Windows -init: - - git config --global core.autocrlf input +clone_depth: 10 -# what combinations to test +# Fix line endings on Windows +init: + - git config --global core.autocrlf true + +# What combinations to test environment: matrix: + - nodejs_version: 1.0 + - nodejs_version: 0.12 - nodejs_version: 0.10 -# Get the latest stable version of Node 0.STABLE.latest install: - - ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) + - ps: Install-Product node $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 + - node --version && npm --version + - npm test + +matrix: + fast_finish: true + +cache: + - C:\Users\appveyor\AppData\Roaming\npm\node_modules # global npm modules + - C:\Users\appveyor\AppData\Roaming\npm-cache # npm cache + - node_modules # local npm modules diff --git a/package.json b/package.json index ed64bb5..2cc44c4 100644 --- a/package.json +++ b/package.json @@ -49,5 +49,6 @@ ], "files": [ "tasks" - ] + ], + "appveyor_id": "5985958by5rhnh31" }