Skip to content

Commit

Permalink
Setup for Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
carhartl committed Jan 25, 2013
1 parent 97e20e4 commit 238b662
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
language: node_js
node_js:
- 0.8
script: grunt ci --verbose
32 changes: 32 additions & 0 deletions grunt.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*global module */
module.exports = function( grunt ) {
'use strict';

grunt.initConfig({
qunit: {
files: ['test.html']
},
jshint: {
options: {
boss: true,
browser: true,
curly: false,
devel: true,
eqeqeq: false,
eqnull: true,
expr: true,
evil: true,
immed: false,
laxcomma: true,
newcap: false,
noarg: true,
smarttabs: true,
sub: true,
undef: true
}
}
});

// Travis CI task.
grunt.registerTask('ci', 'qunit');
};

0 comments on commit 238b662

Please sign in to comment.