2017-06-06 16:24:07 +02:00
|
|
|
See your Travis CI build notifications in Zulip!
|
|
|
|
|
2018-03-10 23:59:43 +01:00
|
|
|
1. {!create-stream.md!}
|
2017-06-06 16:24:07 +02:00
|
|
|
|
2018-03-10 23:59:43 +01:00
|
|
|
1. {!create-bot-construct-url-indented.md!}
|
|
|
|
By default, pull request events are ignored since most people
|
|
|
|
don't want notifications for new pushes to pull requests. To
|
|
|
|
enable notifications for pull request builds, just
|
|
|
|
append `&ignore_pull_requests=false` to the end of the URL.
|
2017-06-06 16:24:07 +02:00
|
|
|
|
2018-03-10 23:59:43 +01:00
|
|
|
1. Add the following to the bottom of your `.travis.yml` file:
|
2017-06-06 16:24:07 +02:00
|
|
|
|
2018-03-10 23:59:43 +01:00
|
|
|
```
|
|
|
|
notifications:
|
|
|
|
webhooks:
|
|
|
|
- <URL constructed above>
|
|
|
|
```
|
2017-06-06 16:24:07 +02:00
|
|
|
|
2018-03-10 23:59:43 +01:00
|
|
|
Push this change to your repository. To further configure which
|
|
|
|
specific events should trigger a notification, see
|
|
|
|
[Travis CI's webhook documentation][1].
|
|
|
|
|
|
|
|
[1]: https://docs.travis-ci.com/user/notifications/#Configuring-webhook-notifications
|
2017-06-06 16:24:07 +02:00
|
|
|
|
|
|
|
{!congrats.md!}
|
|
|
|
|
|
|
|
![](/static/images/integrations/travis/001.png)
|