From 38abe015f5bb2b8a8028690acee9de3f249f8574 Mon Sep 17 00:00:00 2001 From: Michael Barrett Date: Fri, 18 Jul 2014 20:53:04 +0100 Subject: [PATCH] add travis config --- .jshintrc | 1 - .travis.yml | 7 +++++++ CHANGELOG.md | 1 + Gruntfile.js | 2 ++ 4 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .travis.yml 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']); };