@fibjs/ci
Auto gen ci config file.
Installation
1$ npm i @fibjs/ci --save-dev
Usage
Addci
package.json
1
2
3
4"ci": {
"type": "travis, appveyor", // default ci env type is 'travis, appveyor'
"version": "0.3.1" // default version is 0.3.1. Only support version >= 0.3.1
}
you can check available versions here:
and ci system will automatically execnpm run ci
package.json
1
2
3"scritps": {
"ci": "fibjs test/test.js"
}
How
Usenpm postinstall
*.yml
npm install