Awesome community module

@fibjs/ci

Auto gen ci config file.

Installation

1
$ npm i @fibjs/ci --save-dev

Usage

Add ci property to your 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: fibjs.org/downloads/

and ci system will automatically exec npm run ci command, so please add this to your package.json :

1 2 3
"scritps": { "ci": "fibjs test/test.js" }

How

Use npm postinstall hoook to create the *.yml after each npm install run.

License

MIT