0.3.2 • Published 9 years ago
gh-travis v0.3.2
GH Travis
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
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
History
Check Release list.