diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..7ca8d5b --- /dev/null +++ b/.travis.yml @@ -0,0 +1,4 @@ +language: node_js +node_js: + - 0.8 +script: grunt ci --verbose \ No newline at end of file diff --git a/grunt.js b/grunt.js new file mode 100644 index 0000000..5a4c12e --- /dev/null +++ b/grunt.js @@ -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'); +};