2024-07-09 13:19:21 +02:00
|
|
|
# Zulip Travis CI integration
|
|
|
|
|
2017-06-06 16:24:07 +02:00
|
|
|
See your Travis CI build notifications in Zulip!
|
|
|
|
|
2024-07-09 13:19:21 +02:00
|
|
|
{start_tabs}
|
|
|
|
|
2024-05-05 22:30:09 +02:00
|
|
|
1. {!create-channel.md!}
|
2017-06-06 16:24:07 +02:00
|
|
|
|
2023-09-21 02:23:45 +02:00
|
|
|
1. {!create-an-incoming-webhook.md!}
|
|
|
|
|
2024-07-09 13:19:21 +02:00
|
|
|
1. {!generate-webhook-url-basic.md!}
|
2017-06-06 16:24:07 +02:00
|
|
|
|
2024-07-09 13:19:21 +02:00
|
|
|
1. Add the following to the bottom of your `.travis.yml` file, and push
|
|
|
|
the change to your repository:
|
2017-06-06 16:24:07 +02:00
|
|
|
|
2018-03-10 23:59:43 +01:00
|
|
|
```
|
|
|
|
notifications:
|
|
|
|
webhooks:
|
2024-07-09 13:19:21 +02:00
|
|
|
- <URL generated above>
|
2018-03-10 23:59:43 +01:00
|
|
|
```
|
2017-06-06 16:24:07 +02:00
|
|
|
|
2024-07-09 13:19:21 +02:00
|
|
|
{end_tabs}
|
2017-06-06 16:24:07 +02:00
|
|
|
|
|
|
|
{!congrats.md!}
|
|
|
|
|
|
|
|
![](/static/images/integrations/travis/001.png)
|
2024-07-09 13:19:21 +02:00
|
|
|
|
|
|
|
{!event-filtering-additional-feature.md!}
|
|
|
|
|
|
|
|
### Configuration options
|
|
|
|
|
|
|
|
- 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, you can append
|
|
|
|
`&ignore_pull_requests=false` to the end of the generated URL.
|
|
|
|
|
|
|
|
### Related documentation
|
|
|
|
|
|
|
|
- [Travis CI's webhook documentation][1]
|
|
|
|
|
|
|
|
{!webhooks-url-specification.md!}
|
|
|
|
|
|
|
|
[1]: https://docs.travis-ci.com/user/notifications/#configuring-webhook-notifications
|