Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including gh-travis with all npm packages installed. Try it out:

gh-travis lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("gh-travis/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

gh-travis v0.3.2

NodeGH plugin for integrating Travis, a continous integration server.

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

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free