egg-ci
Auto gen ci config file
Last updated a month ago by fengmk2 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install egg-ci 
SYNC missed versions from official npm registry.

egg-ci

NPM version build status Build Status Test coverage David deps npm download

Auto gen ci config file.

Installation

$ npm i egg-ci --save-dev

Usage

Add ci property to your package.json:

"ci": {
  "type": "travis, appveyor", // default ci env type is 'travis, appveyor', also support 'azure-pipelines'
  "os": {
    "travis": "linux", // travis support 'linux', 'osx' and 'windows' operation system, default is 'linux'
    "azure-pipelines": "linux, windows, macos" // azure-pipelines support 'linux, windows, macos', default is 'linux, windows, macos'
  },
  "npminstall": true, // use `npminstall` or `npm install`, default is true
  "version": "6", // test LTS node version by default
  // npm ci command
  "command": {
    "travis": "ci",
    "appveyor": "test",
    "azure-pipelines": "ci"
  },
  "services": "redis-server, mysql", // custom service
  "license": false // generate license
}

How

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

License

MIT

Current Tags

  • 1.10.0                                ...           latest (a month ago)

16 Versions

  • 1.10.0                                ...           a month ago
  • 1.9.2                                ...           2 months ago
  • 1.9.1                                ...           2 months ago
  • 1.9.0                                ...           2 months ago
  • 1.8.0                                ...           a year ago
  • 1.7.0                                ...           a year ago
  • 1.6.0                                ...           2 years ago
  • 1.5.0                                ...           2 years ago
  • 1.4.0                                ...           2 years ago
  • 1.3.0                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago

Copyright 2014 - 2016 © taobao.org |