.travis command excute.
npm install grunt-travis-excute --save
module.exports = function (grunt) {
grunt.initConfig({
// initconfig...
});
});
grunt.loadNpmTasks('grunt-travis-excute');
grunt.registerTask('travis', ['travisExecute']);
and execute command.
grunt travis
travisExecute:{
travis: './.travis.yml' //default: './.travis.yml'
}
grunt.registerTask('travis', ['travisExecute']); // all flags
grunt.registerTask('build', ['travisExecute:install:before_script']);
grunt.registerTask('test', ['travisExecute:script']);
grunt.registerTask('reset', ['travisExecute:after_script']);
// etc..
- source cleanup?(정리)
- :install~ , :install~script etc...
- after_success, after_failure support
- more options support