Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danpaz/hubot-travis-ci
A hubot script used to interact with Travis CI
https://github.com/danpaz/hubot-travis-ci
hubot hubot-scripts slack travis-ci
Last synced: 22 days ago
JSON representation
A hubot script used to interact with Travis CI
- Host: GitHub
- URL: https://github.com/danpaz/hubot-travis-ci
- Owner: danpaz
- License: mit
- Created: 2014-10-22T01:13:08.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-22T04:03:57.000Z (about 10 years ago)
- Last Synced: 2024-10-03T23:34:23.691Z (about 1 month ago)
- Topics: hubot, hubot-scripts, slack, travis-ci
- Language: CoffeeScript
- Size: 121 KB
- Stars: 4
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hubot-travis-ci
A hubot script used to interact with Travis CI.
Work with both Travis CI for open source and Travis Pro for private projects.
## Installation
```
npm install hubot-travis-ci --save
```Add "hubot-travis-ci" to external-scripts.json.
## Configuration
HUBOT_TRAVIS_ACCESS_TOKEN - API key
HUBOT_TRAVIS_API_HOST - "https://api.travis-ci.com" or "https://api.travis-ci.org"
HUBOT_TRAVIS_ORGNAME - Organization, user, or project name
HUBOT_TRAVIS_URL - "https://.travis-ci.com" or "https://travis-ci.org"The Travis [integration token](http://docs.travis-ci.com/user/encryption-keys/)
is semi-secret.
Use the [official ruby client](https://github.com/travis-ci/travis#readme) to
generate an encrypted token.## Commands
hubot travis restart - Restart a travis build
hubot travis cancel - Cancel a travis build## Notes
This script was originally built for the [Slack](https://www.slack.com)
hubot integration. To get build notifications posted back into Slack
setup the [existing Travis CI integration](https://slack.com/integrations).Refer to the [Travis CI API docs](http://docs.travis-ci.com/api/).