1.0.0 • Published 8 years ago
zero-to-one-ci v1.0.0
egg-ci
Auto gen ci config file.
Installation
$ npm i egg-ci --save-devUsage
Add ci property to your package.json:
"ci": {
"type": "travis, appveyor", // default ci env type is 'travis, appveyor'
"npminstall": true, // use `npminstall` or `npm install`, default is true
"version": "6", // test LTS node version by default
// npm ci command
"command": {
"travis": "ci",
"appveyor": "test"
},
"services": "redis-server, mysql", // custom service
"license": false // generate license
}How
Use npm postinstall hoook to create the *.yml after each npm install run.
License
1.0.0
8 years ago