attempt n2 to fix grunt in travis ci build
authorHakim El Hattab <hakim.elhattab@gmail.com>
Wed, 27 Feb 2013 22:03:21 +0000 (17:03 -0500)
committerHakim El Hattab <hakim.elhattab@gmail.com>
Wed, 27 Feb 2013 22:07:31 +0000 (17:07 -0500)
.travis.yml
Gruntfile.js [moved from gruntfile.js with 92% similarity]
package.json

index baa0031d5003b75b611433c7a8d83cc0e63fc050..2d6cd8f4f425afc2f026172851b172151b9f8f3e 100644 (file)
@@ -1,3 +1,5 @@
 language: node_js
 node_js:
   - 0.8
+before_script:
+  - npm install -g grunt-cli
\ No newline at end of file
similarity index 92%
rename from gruntfile.js
rename to Gruntfile.js
index bd6858aa0c1fde39c7984c1e64aedfd42c625411..22502f616b6afc04772fc26c6b6b62e890a493f7 100644 (file)
@@ -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'
                }
 
index e9ab1e12595e8925c00439d35474d6a6aed3b92d..830b877129910dcdb117ef2ad0be2172f27b6e5a 100644 (file)
@@ -16,7 +16,7 @@
     "node": "~0.8.0"
   },
   "scripts": {
-    "test": "grunt lint qunit"
+    "test": "grunt jshint"
   },
   "dependencies": {
     "underscore": "~1.3.3",