0.3.2 • Published 10 years ago

gh-travis v0.3.2

Weekly downloads
2
License
BSD
Repository
github
Last release
10 years ago

GH Travis

NPM version NPM downloads Build Status Dependencies Status DevDependencies Status

Droidtocat

NodeGH plugin for integrating Travis, a continous integration server.

Maintained by Henrique Vicente.

Install

[sudo] npm install -g gh gh-travis

Usage

gh travis

Alias: gh tr

1. List

OptionUsageType
-l, --listRequiredBoolean
-a, --allOptionalBoolean
-d, --detailedOptionalBoolean
-r, --repoOptionalString
-u, --userOptionalString

Examples

  • Shortcut for listing build status for current repo.

    ```

    gh tr

    ```
  • List build status for all repos.

    ```

    gh tr --list --all

    ```
  • List build status with link.

    ```

    gh tr --list --detailed

    ```

2. Open in Browser

OptionUsageType
-B, --browserRequiredBoolean
-r, --repoOptionalString
-u, --userOptionalString

Examples

  • Opening Travis page in the browser for current repo.

    ```

    gh tr --browser

    ```
  • Open Travis page in the browser for a certain repo.

    ```

    gh tr --browser -user node-gh --repo gh-travis

    ```

Testing

Check Travis for continous integration results.

  • Run JSHint, a tool to detect errors and potential problems.

    ```

    npm run-script lint

    ```
  • Run Mocha, a unit test framework.

    ```

    npm run-script test

    ```

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

Check Release list.

License

BSD License

0.3.2

10 years ago

0.3.1

10 years ago

0.2.3

11 years ago

0.2.2

12 years ago

0.2.0

12 years ago

0.1.0

12 years ago