Auto gen ci config file.
$ npm i @fibjs/ci --save-devAdd ci property to your package.json:
"ci": {
// default ci env type is 'travis, appveyor'
"type": "travis, appveyor",
// default version is 0.3.1. Only support version >= 0.3.1
"version": "0.3.1",
// support use built-in services for travis
"travis_services": [
"mysql"
]
}you can check available versions here: fibjs.org/downloads/
and ci system will automatically exec npm run ci command, so please add this to your package.json:
"scritps": {
"ci": "fibjs test/test.js"
}Use npm postinstall hoook to create the *.yml after each npm install run.