From 65cbe25a02b78624b28ea6b45ffabba6867a5bcd Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Wed, 27 Feb 2013 17:03:21 -0500 Subject: [PATCH] attempt n2 to fix grunt in travis ci build --- .travis.yml | 2 ++ gruntfile.js => Gruntfile.js | 4 ++-- package.json | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) rename gruntfile.js => Gruntfile.js (92%) diff --git a/.travis.yml b/.travis.yml index baa0031d..2d6cd8f4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,5 @@ language: node_js node_js: - 0.8 +before_script: + - npm install -g grunt-cli \ No newline at end of file diff --git a/gruntfile.js b/Gruntfile.js similarity index 92% rename from gruntfile.js rename to Gruntfile.js index bd6858aa..22502f61 100644 --- a/gruntfile.js +++ b/Gruntfile.js @@ -16,7 +16,7 @@ module.exports = function(grunt) { }, jshint: { - files: [ 'gruntfile.js', 'js/reveal.js' ] + files: [ 'Gruntfile.js', 'js/reveal.js' ] }, // Tests will be added soon @@ -64,7 +64,7 @@ module.exports = function(grunt) { }, watch: { - files: [ 'gruntfile.js', 'js/reveal.js', 'css/reveal.css' ], + files: [ 'Gruntfile.js', 'js/reveal.js', 'css/reveal.css' ], tasks: 'default' } diff --git a/package.json b/package.json index e9ab1e12..830b8771 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "node": "~0.8.0" }, "scripts": { - "test": "grunt lint qunit" + "test": "grunt jshint" }, "dependencies": { "underscore": "~1.3.3",