@fibjs/ci

CI tool for fibjs project.

Stats

StarsIssuesVersionUpdatedCreatedSize
@fibjs/ci
002.4.22 months ago5 years agoMinified + gzip package size for @fibjs/ci in KB

Readme

@fibjs/ci

Auto gen ci config file.

Installation

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

Usage

Add 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"
}

How

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

License

MIT

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.