Nonlinear Programming Methods

    travis-cli

    1.0.9 • Public • Published

    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.

    Keywords

    none

    Install

    npm i travis-cli

    DownloadsWeekly Downloads

    25

    Version

    1.0.9

    License

    ISC

    Last publish

    Collaborators

    • zhaoxingyue
    • zhangyuang
    • langshu