Skip to content
Here's your serverless solution for sending build status from Travis CI to Discord as webhooks.
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Create FUNDING.yml Jun 2, 2019
LICENSE Initial commit Nov 17, 2017 add link to GitLab CI > Discord webhook service Jun 10, 2019 fixes #16 Jul 9, 2019

Travis CI 🡒 Discord Webhook

Backers on Open Collective Sponsors on Open Collective

If you are looking for a way to get build (success/fail) status reports from Travis CI in Discord, stop looking. You've came to the right place.

I was waiting for the Travis team for a long time to integrate Discord Webhook support to their build notifications, but they don't seem to be doing anything about that. So I made these script to just do the same.

No need to wait for them to add Discord Webhook Integration, rest aside and just follow the guide below and stay notified of your build status.


  • You should be using Travis CI for testing codes.
  • A Discord Server where notifications will be posted.
  • 5 minutes
  • A cup of coffee ☕


  1. Create a webhook in your Discord Server (Guide).

  2. Copy the Webhook URL.

  3. Go to your repository settings (for which you want status notifications) in Travis CI and add an environment variable called WEBHOOK_URL and paste the Webhook URL you got in the previous step.

    Add environment variable in Travis CI

  4. Add these lines to the .travis.yml file of your repository.

      - wget
      - chmod +x
      - ./ success $WEBHOOK_URL
      - wget
      - chmod +x
      - ./ failure $WEBHOOK_URL
  5. Grab your coffee ☕ and enjoy! And, if you liked this, please ⭐Star this repository to show your love.


  • If you face any issues in the scripts (and you're sure it's not on your side), please consider opening an issue and I'll fix it ASAP.
  • If you want to improve the scripts, feel free to open a pull request.

See Also


This project exists thanks to all the people who contribute.


Thank you to all our backers! 🙏 [Become a backer]


Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

You can’t perform that action at this time.