{"id":21413843,"url":"https://github.com/mat1g3r/travis_discord","last_synced_at":"2025-10-28T16:40:36.114Z","repository":{"id":96186070,"uuid":"97891948","full_name":"MaT1g3R/travis_discord","owner":"MaT1g3R","description":"Post your Travis CI build results to Discord using Discord webhook","archived":false,"fork":false,"pushed_at":"2017-07-24T07:44:17.000Z","size":21,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-14T04:39:53.445Z","etag":null,"topics":["bash","discord","discord-api","shell","travis","travis-ci","webhook","webhooks"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MaT1g3R.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-21T01:18:21.000Z","updated_at":"2019-10-04T16:06:44.000Z","dependencies_parsed_at":"2023-03-23T08:48:23.698Z","dependency_job_id":null,"html_url":"https://github.com/MaT1g3R/travis_discord","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MaT1g3R/travis_discord","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaT1g3R%2Ftravis_discord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaT1g3R%2Ftravis_discord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaT1g3R%2Ftravis_discord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaT1g3R%2Ftravis_discord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaT1g3R","download_url":"https://codeload.github.com/MaT1g3R/travis_discord/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaT1g3R%2Ftravis_discord/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281476034,"owners_count":26508132,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-28T02:00:06.022Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","discord","discord-api","shell","travis","travis-ci","webhook","webhooks"],"created_at":"2024-11-22T18:20:25.370Z","updated_at":"2025-10-28T16:40:36.092Z","avatar_url":"https://github.com/MaT1g3R.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Travis Discord [![Build Status](https://travis-ci.org/MaT1g3R/travis_discord.svg?branch=master)](https://travis-ci.org/MaT1g3R/travis_discord)\n#### Post your Travis CI build results to Discord using Discord webhook\n\n## Requirements\nRequires `bash` and `curl` in the build environment.\n\n## Instructions\n\n1. Add a Discord webhook to your Discord guild, if you don't know what a webhook is, you can get started with [this page](https://support.discordapp.com/hc/en-us/articles/228383668-Intro-to-Webhooks).  \n2. Add two environment variables in your Travis CI build project.  \n\n      `BUILD_URL`: Url for your builds. For a public repo it will look like this: `https://travis-ci.org/OWNER/REPO/builds`, where `OWNER` is the repo owner name and `REPO` is the repo name.\n\n      `DISCORD_WEBHOOK`: Url for your Discord webhook.\n\n      To add the environment variables, go to your Travis CI project page and click on `More options -\u003e settings`.  \n      This is what your environment variables might look like.\n![](environment.png)\n\n3. Then simply add one line to `after_script` in your Travis CI build file.\n```\nbash -c \"$(curl -fsSL https://raw.githubusercontent.com/MaT1g3R/travis_discord/master/travis.sh)\"\n```\nHere's an example for a .travis.yml file:\n```yml\nlanguage: python\npython:\n  - \"3.6\"\nmatrix:\n  include:\n    - os: linux\n      dist: trusty\n      sudo: required\nbefore_install:\n  - sudo apt-get update -qq\n  - sudo apt-get install -qq libgeos*\n  - sudo apt-get install -qq wget\ninstall:\n  - \"pip install -r requirements.txt\"\nservices:\n  - postgresql\naddons:\n  postgresql: \"9.6\"\nbefore_script:\n  - \"psql -c 'create database hifumi_testing;' -U postgres\"\nscript: pytest\nafter_script:\n    - bash -c \"$(curl -fsSL https://raw.githubusercontent.com/MaT1g3R/travis_discord/master/travis.sh)\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmat1g3r%2Ftravis_discord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmat1g3r%2Ftravis_discord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmat1g3r%2Ftravis_discord/lists"}