Skip to content

davemachado/travis-github-pr-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • Python 100.0%