Skip to content

NodeGH plugin for integrating Travis, a continous integration server

Notifications You must be signed in to change notification settings

node-gh/gh-travis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GH Travis

NPM version NPM downloads Build Status Dependencies Status DevDependencies Status

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

Option Usage Type
-l, --list Required Boolean
-a, --all Optional Boolean
-d, --detailed Optional Boolean
-r, --repo Optional String
-u, --user Optional String

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

Option Usage Type
-B, --browser Required Boolean
-r, --repo Optional String
-u, --user Optional String

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

About

NodeGH plugin for integrating Travis, a continous integration server

Resources

Stars

Watchers

Forks

Packages

No packages published