add travis config
This commit is contained in:
parent
d922519f13
commit
38abe015f5
7
.travis.yml
Normal file
7
.travis.yml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
language: node_js
|
||||||
|
node_js:
|
||||||
|
- "0.10"
|
||||||
|
- "0.11"
|
||||||
|
before_script:
|
||||||
|
- npm install -g grunt-cli
|
||||||
|
script: grunt test
|
@ -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
|
||||||
|
@ -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']);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user