Awesome 社區模塊

@fibjs/ci

Auto gen ci config file.

Installation

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

Usage

Addcipackage.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 cipackage.json

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

How

Usenpm postinstall*.ymlnpm install

License

MIT