travis-cli
v1.0.9
Published
a cli tool for travis-cli
Downloads
447
Readme
travis-cli
a cli tool for travis-cli
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
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
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
版本历史
- v1.0.0 初始化版本cli
欢迎fork和反馈
- write by
i5ting
[email protected]
如有建议或意见,请在issue提问或邮件
License
this repo is released under the MIT License.