Use travis-ci.

This commit is contained in:
Hyunje Alex Jun 2013-07-08 23:01:49 +09:00
parent 5124a27113
commit 09c0fb89d2
3 changed files with 9 additions and 0 deletions

5
.travis.yml Normal file
View File

@ -0,0 +1,5 @@
language: node_js
node_js:
- "0.10"
before_script:
- npm install -g grunt-cli

View File

@ -82,5 +82,6 @@ module.exports = function (grunt) {
grunt.registerTask('lint', ['jshint', 'csslint']);
grunt.registerTask('build', ['clean', 'uglify', 'cssmin']);
grunt.registerTask('travis', ['lint']);
};

View File

@ -11,5 +11,8 @@
"grunt-contrib-cssmin": "~0.6.1",
"grunt-contrib-csslint": "~0.1.2",
"grunt-contrib-clean": "~0.4.1"
},
"scripts": {
"test": "grunt travis --verbose"
}
}