Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

integration-docs: Update Travis CI for new doc format.

Niloth P6afed1432cd4
diff --git a/zerver/webhooks/travis/doc.md b/zerver/webhooks/travis/doc.md
index 5c57892285d..757975e9777 100644
--- a/zerver/webhooks/travis/doc.md
+++ b/zerver/webhooks/travis/doc.md
@@ -1,29 +1,43 @@
+# Zulip Travis CI integration
+
See your Travis CI build notifications in Zulip!
+{start_tabs}
+
1. {!create-channel.md!}
1. {!create-an-incoming-webhook.md!}
-1. {!generate-integration-url.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.
+1. {!generate-webhook-url-basic.md!}
-1. Add the following to the bottom of your `.travis.yml` file:
+1. Add the following to the bottom of your `.travis.yml` file, and push
+ the change to your repository:
```
notifications:
webhooks:
- - <URL constructed above>
+ - <URL generated above>
```
- 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
+{end_tabs}
{!congrats.md!}
![](/static/images/integrations/travis/001.png)
+
+{!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