Awesome Community Module

@fibjs/ci

Autogen ci config file.

Installation

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

Usage

Add ciproperty 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 cicommand, so please add this to your package.json:

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

How

Use npm postinstallhook to create the *.ymlafter each npm installrun.

License

MIT