Browse Source

attempt n2 to fix grunt in travis ci build

Hakim El Hattab 11 years ago
parent
commit
65cbe25a02
3 changed files with 5 additions and 3 deletions
  1. 2 0
      .travis.yml
  2. 2 2
      Gruntfile.js
  3. 1 1
      package.json

+ 2 - 0
.travis.yml

@@ -1,3 +1,5 @@
 language: node_js
 node_js:
   - 0.8
+before_script:
+  - npm install -g grunt-cli

+ 2 - 2
gruntfile.js → 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'
 		}
 

+ 1 - 1
package.json

@@ -16,7 +16,7 @@
     "node": "~0.8.0"
   },
   "scripts": {
-    "test": "grunt lint qunit"
+    "test": "grunt jshint"
   },
   "dependencies": {
     "underscore": "~1.3.3",