diff --git a/zerver/webhooks/travis/doc.html b/zerver/webhooks/travis/doc.html deleted file mode 100644 index 2197057be3..0000000000 --- a/zerver/webhooks/travis/doc.html +++ /dev/null @@ -1,36 +0,0 @@ -

See your Travis CI build notifications in Zulip!

- -

- First, create the stream you'd like to use for notifications, and subscribe - all interested parties to this stream. We recommend the name travis. -

- -

- Next, set up a bot for the integration. You'll need the bot's API key - to construct a URL for Travis CI. -

- - -

- Finally, set up a webhook in your .travis.yml file: -

- -
-notifications:
-webhooks:
-- {{ external_api_uri_subdomain }}/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. -

- -

- Congratulations! You're done!
When a code build occurs, - you're receive a notification on the specified stream and topic. -

- - diff --git a/zerver/webhooks/travis/doc.md b/zerver/webhooks/travis/doc.md new file mode 100644 index 0000000000..f262db83cd --- /dev/null +++ b/zerver/webhooks/travis/doc.md @@ -0,0 +1,22 @@ +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: +- {{ external_api_uri_subdomain }}/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!} + +![](/static/images/integrations/travis/001.png)