Use travis-ci.
This commit is contained in:
parent
5124a27113
commit
09c0fb89d2
5
.travis.yml
Normal file
5
.travis.yml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
language: node_js
|
||||||
|
node_js:
|
||||||
|
- "0.10"
|
||||||
|
before_script:
|
||||||
|
- npm install -g grunt-cli
|
@ -82,5 +82,6 @@ module.exports = function (grunt) {
|
|||||||
|
|
||||||
grunt.registerTask('lint', ['jshint', 'csslint']);
|
grunt.registerTask('lint', ['jshint', 'csslint']);
|
||||||
grunt.registerTask('build', ['clean', 'uglify', 'cssmin']);
|
grunt.registerTask('build', ['clean', 'uglify', 'cssmin']);
|
||||||
|
grunt.registerTask('travis', ['lint']);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -11,5 +11,8 @@
|
|||||||
"grunt-contrib-cssmin": "~0.6.1",
|
"grunt-contrib-cssmin": "~0.6.1",
|
||||||
"grunt-contrib-csslint": "~0.1.2",
|
"grunt-contrib-csslint": "~0.1.2",
|
||||||
"grunt-contrib-clean": "~0.4.1"
|
"grunt-contrib-clean": "~0.4.1"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"test": "grunt travis --verbose"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user