{"id":13827777,"url":"https://github.com/bluzi/travis-buddy","last_synced_at":"2025-07-09T05:30:36.280Z","repository":{"id":55667203,"uuid":"108915921","full_name":"bluzi/travis-buddy","owner":"bluzi","description":":rocket: Seamless integration between TravisCI and GitHub","archived":true,"fork":false,"pushed_at":"2020-12-14T08:11:14.000Z","size":5131,"stargazers_count":253,"open_issues_count":28,"forks_count":135,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-08-05T09:16:43.475Z","etag":null,"topics":["bot","ci","cloud","javascript","service","travis-ci"],"latest_commit_sha":null,"homepage":"https://www.travisbuddy.com/","language":"JavaScript","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/bluzi.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}},"created_at":"2017-10-30T22:35:42.000Z","updated_at":"2024-08-01T09:34:00.000Z","dependencies_parsed_at":"2022-08-15T06:00:48.791Z","dependency_job_id":null,"html_url":"https://github.com/bluzi/travis-buddy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluzi%2Ftravis-buddy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluzi%2Ftravis-buddy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluzi%2Ftravis-buddy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluzi%2Ftravis-buddy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bluzi","download_url":"https://codeload.github.com/bluzi/travis-buddy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225486433,"owners_count":17481900,"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","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":["bot","ci","cloud","javascript","service","travis-ci"],"created_at":"2024-08-04T09:02:08.682Z","updated_at":"2024-11-20T07:31:08.161Z","avatar_url":"https://github.com/bluzi.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/bluzi/travis-buddy/master/public/images/header.jpg\"\u003e\n\u003c/p\u003e\n\n# TravisBuddy [![Build Status](https://travis-ci.org/bluzi/travis-buddy.svg?branch=master)](https://travis-ci.org/bluzi/travis-buddy) ![Heroku](https://heroku-badge.herokuapp.com/?app=travis-buddy-service\u0026style=flat) \u003ca href=\"https://www.statuscake.com\" title=\"Website Uptime Monitoring\"\u003e\u003cimg src=\"https://www.statuscake.com/App/button/index.php?Track=2MnfbAoOjQ\u0026Days=1\u0026Design=7\" /\u003e\u003c/a\u003e\n\nTravisBuddy is a cloud service that creates comments in failed pull requests and tells the author what went wrong and what they can do to fix it.\n\n## Why should I use it?\n\n* It takes 2 minutes to integrate TravisBuddy with your GitHub repository, assuming it's already integrated with TravisCI\n* It will save precious time to you and to your contributors, as you won't have to explain what went wrong, and they won't have to go through the whole build log in TravisCI.\n* It's free, open source, and awesome.\n\n![TravisBuddy example comment](https://raw.githubusercontent.com/bluzi/travis-buddy/master/public/images/example.png)\n\n## Repositories Using TravisBuddy\n\nTravisBuddy is already being trusted by few repositories on GitHub. It automatically stars every project using it, [so you can easily see who's using it](https://github.com/TravisBuddy?tab=stars).\n\n## Getting Started\n\n### Public Repositories\n\nIf you're already using Travis CI, modify your `.travis.yml` and add the following lines:\n\n```yml\nnotifications:\n    webhooks: https://www.travisbuddy.com/\n```\n\nIf not, enable Travis CI in your repository by following the [tutorial in their website](https://docs.travis-ci.com/user/getting-started/) according to the tech you're using, and then add the code above to `.travis.yml`.\n\nHere's how your `.travis.yml` should look like if you're using `node_js`:\n\n```yml\nlanguage: node_js\nnode_js:\n    - \"8\"\nnotifications:\n    webhooks: https://www.travisbuddy.com/\n```\n\n#### Configuration\nYou can configure TravisBuddy by adding a `travisBuddy` node to your `travis.yml` i.e.: \n```yml\nlanguage: node_js\nnode_js:\n    - \"8\"\nnotifications:\n    webhooks: https://www.travisbuddy.com/\ntravisBuddy:\n    regex: \"(\\d+ failing)\"\n```\n\nYou may use the following configuration keys:\n\nKey | Description | Values\n--- | --- | ---\nregex | Tells TravisBuddy to take only parts of the log. The regex is executed on each test script separately, and TravisBuddy will only show the first result catched using parentheses | Any valid regular expression\nregexOptions | Use along with `regex` to apply regular expression options      |   Any valid regular expression option, i.e. `g`\ninsertMode | Tells TravisBuddy to comment once and keep editing that one comment instead of appending new comment for every build | (default) `append` or `update`\nsuccessBuildLog | Tells TravisBuddy to add the build log for successfull builds. | (default) `false` or `true`\n\n#### Custom Template\n\nIf TravisBuddy finds a file name `travis-buddy-failure-template.md` in the root of the branch it's commenting on, it'll be used as a template for the comments.\n\nThe content of the file must be a valid [mustache](https://github.com/janl/mustache.js/) template.\nIf you don't know the syntax, visit [the mustache documentation](https://mustache.github.io/mustache.5.html) or refer to this [sample template](https://raw.githubusercontent.com/bluzi/name-db/master/travis-buddy-failure-template.md).\n\n#### Disable success message\n\nIf you only want TravisBuddy to create comments when the tests fail, add `on_success: never` to the notifications node, like this:\n\n```yml\nnotifications:\n    webhooks: https://www.travisbuddy.com/\n    on_success: never\n```\n\n#### Update comments mode\n\nIf you want TravisBuddy to only create one comment, add `?insertMode=update` to the webhook URL. TravisBuddy will create one comment and when there is a new cause for test failure, it will update that one with the new information.\n\n```yml\nnotifications:\n    webhooks: https://www.travisbuddy.com/?insertMode=update\n```\n\n\n### Private Repositories\n\nTravisBuddy is not yet supported on private repositories.\nHowever, we're working on it, so stay tuned.\n\n### What if I still can't get it to work?\n\nFeel free to [contact us using the website](https://www.travisbuddy.com/contact-us), or [leave an issue in our GitHub repository](https://github.com/bluzi/travis-buddy/issues).\n\n## Run Locally\n\nIt's easy to run a local instance of _TravisBuddy_ - just clone the repository, run `npm i` and use:\n\n* `npm test` for tests\n* `npm start` to run\n\n## Test Repositories\n\nThe plan is to create a repository for each resolver (test library)\nSo far, we have:\n\n* [Mocha](https://github.com/bluzi/travis-buddy-mocha-tests)\n* [Jest](https://github.com/bluzi/travis-buddy-jest-tests)\n* [Jasmine](https://github.com/bluzi/travis-buddy-jasmine-tests)\n\n## Deploy to Heroku\n\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)\n\n## Contribution\n\nFeel free to create issues or create pull requests.\nFollow the \"Run locally\" section of this documentation to learn how to debug the project.\n\nNote that there are [open issues](https://github.com/bluzi/travis-buddy/issues) with detailed instruction on how to resolve them, so if you want to help - just pick one labeled `good first issue`.\n\n## License\n\nThis project is licensed under the MIT License.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"420\" src=\"https://raw.githubusercontent.com/bluzi/travis-buddy/master/public/images/logo.png\"\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluzi%2Ftravis-buddy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbluzi%2Ftravis-buddy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluzi%2Ftravis-buddy/lists"}