Install grunt-cli in travis before_script instead of as devDep

See: https://github.com/gruntjs/grunt-contrib/issues/129
This commit is contained in:
Kyle Robinson Young 2012-11-28 11:11:50 -08:00
parent 93515b4566
commit 29ac844c8d
2 changed files with 6 additions and 5 deletions

View File

@ -1,4 +1,6 @@
language: node_js
node_js:
- 0.8
- 0.9
- 0.9
before_script:
- npm install -g grunt-cli

View File

@ -20,12 +20,12 @@
"url": "https://github.com/gruntjs/grunt-contrib-watch/blob/master/LICENSE-MIT"
}
],
"main": "grunt.js",
"main": "Gruntfile.js",
"engines": {
"node": ">= 0.8.0"
},
"scripts": {
"test": "./node_modules/.bin/grunt nodeunit -v"
"test": "grunt nodeunit -v"
},
"dependencies": {
"gaze": "~0.2.0"
@ -34,8 +34,7 @@
"grunt-contrib-jshint": "~0.1.0",
"grunt-contrib-nodeunit": "~0.1.0",
"grunt-contrib-internal": "*",
"grunt": "~0.4.0a",
"grunt-cli": "~0.1.0"
"grunt": "~0.4.0a"
},
"keywords": [
"gruntplugin", "watch"