Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

A simple callback to github from travis to comment on the PR that started the build.

License

Notifications You must be signed in to change notification settings

koddsson/travis-github-pr-bot

Repository files navigation

⚠️ This repo is now deprecated ⚠️

Build Status

A pretty simple python script that will get output from stdin and comment that output onto the pull request that initilized the build on travis.

Getting up and running.

  1. Have travis build enabled github repo.
  2. Have a dummy github account and get a token for it.
  3. Add the dummy account token to the travis config file under under TRAVIS_BOT_GITHUB_TOKEN.
  4. Add the something equivalent following lines to your .travis.yml file, incidentally the following code will report flake8 results to the PR.
before_install:
  - pip install travis_bot
  - flake8 . | travis_bot

About

A simple callback to github from travis to comment on the PR that started the build.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages