tc

travis-cli

a cli tool for travis-cli

Showing:

Popularity

Downloads/wk

30

GitHub Stars

8

Maintenance

Last Commit

5yrs ago

Contributors

4

Package

Dependencies

2

Size (min+gzip)

5.5KB

License

ISC

Type Definitions

Tree-Shakeable

No?

Categories

Readme

travis-cli

a cli tool for travis-cli

NPM version gitter Build codecov.io js-standard-style

Install

$ [sudo] npm i -g travis-cli 

Usages

$ travis -h

  Usage: travis [options]

  Options:

    -h, --help      output usage information
    -V, --version   output the version number
    -i, --init      init default .travis.yml
    -b, --badge     get all badges for README.md
    -n, --npm       get npm badge .travis.yml
    -g, --gitter    get gitter badge for README.md
    -t, --travis    get travis badge for README.md
    -s, --standard  get standard badge for README.md
    -c, --codecov   get codecov badge for README.md

create .travis.yml and codecov.yml

travis -i

get all badges for README.md

travis -b
  • npm NPM version
  • gitter gitter
  • travis Build
  • standard js-standard-style
  • codecov codecov.io

in package.json you neet scripts with report-coverage

"scripts": {
    "test": "./node_modules/.bin/nyc ./node_modules/.bin/ava -v",
    "report-coverage": "./node_modules/.bin/nyc report --reporter=lcov > coverage.lcov && codecov"
  },

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

版本历史

  • v1.0.0 初始化版本cli

欢迎fork和反馈

如有建议或意见,请在issue提问或邮件

License

this repo is released under the MIT License.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100