diff --git a/.jshintrc b/.jshintrc index 0db3279..2c63c08 100644 --- a/.jshintrc +++ b/.jshintrc @@ -1,3 +1,2 @@ { - } diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..f94f4ed --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: node_js +node_js: + - "0.10" + - "0.11" +before_script: + - npm install -g grunt-cli +script: grunt test diff --git a/CHANGELOG.md b/CHANGELOG.md index 79e3dc6..82ae255 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,3 +14,4 @@ - Added minified distributable version - Updated package.json - Added bower config +- Added travis config diff --git a/Gruntfile.js b/Gruntfile.js index 44c694a..30835ef 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -37,5 +37,7 @@ module.exports = function(grunt) { // user defined tasks grunt.registerTask('test', ['mochaTest']); + grunt.registerTask('lint', ['jshint']); + grunt.registerTask('build', ['uglify']); grunt.registerTask('default', ['jshint', 'mochaTest', 'uglify']); };