mirror of
https://github.com/zulip/zulip.git
synced 2025-11-08 07:52:19 +00:00
The "subdomain" label is redundant, to the extent it's even accurate -- this is really just the URL we want to display, which may or may not involve a subdomain. Similarly "external". The former `external_api_path_subdomain` was never a path -- it's a host, followed by a path, which together form a scheme-relative URL. I'm not quite convinced that value is actually the right thing in 2 of the 3 places we use it, but fixing that can start by giving an accurate name to the thing we have.
23 lines
577 B
Markdown
23 lines
577 B
Markdown
See your Travis CI build notifications in Zulip!
|
|
|
|
{!create-stream.md!}
|
|
|
|
{!create-bot-construct-url.md!}
|
|
|
|
Finally, set up a webhook in your `.travis.yml` file:
|
|
|
|
```
|
|
notifications:
|
|
webhooks:
|
|
- {{ api_url }}/v1/external/travis?stream=travis&topic=build-status&api_key=abcdefgh
|
|
```
|
|
|
|
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
|
|
add `&ignore_pull_requests=false` at the end of the URL.
|
|
|
|
{!congrats.md!}
|
|
|
|

|