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.
- Have travis build enabled github repo.
- Have a dummy github account and get a token for it.
- Add the dummy account token to the travis config file under under
TRAVIS_BOT_GITHUB_TOKEN
. - Add the something equivalent following lines to your
.travis.yml
file, incidentally the following code will reportflake8
results to the PR.
before_install:
- pip install travis_bot
- flake8 . | travis_bot