add travis config

This commit is contained in:
Michael Barrett 2014-07-18 20:53:04 +01:00
parent d922519f13
commit 38abe015f5
4 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,2 @@
{ {
} }

7
.travis.yml Normal file
View File

@ -0,0 +1,7 @@
language: node_js
node_js:
- "0.10"
- "0.11"
before_script:
- npm install -g grunt-cli
script: grunt test

View File

@ -14,3 +14,4 @@
- Added minified distributable version - Added minified distributable version
- Updated package.json - Updated package.json
- Added bower config - Added bower config
- Added travis config

View File

@ -37,5 +37,7 @@ module.exports = function(grunt) {
// user defined tasks // user defined tasks
grunt.registerTask('test', ['mochaTest']); grunt.registerTask('test', ['mochaTest']);
grunt.registerTask('lint', ['jshint']);
grunt.registerTask('build', ['uglify']);
grunt.registerTask('default', ['jshint', 'mochaTest', 'uglify']); grunt.registerTask('default', ['jshint', 'mochaTest', 'uglify']);
}; };