jasonkuster / merge-bot

An automatic merge robot for the ASF.
http://mergebot-vm.apache.org:8080
Apache License 2.0
2 stars 5 forks source link

Let’s run some tests... #30

Closed cclauss closed 5 years ago

cclauss commented 6 years ago

The Travis Continuous Integration service is free for all open source projects like this one. This configuration will enable Travis CI to run flake8 tests on all pull requests before they are reviewed. This allows contributors and maintainers to make sure no errors are introduced. The owner of this repo would need to go to https://travis-ci.org/profile (log in via GitHub id) and flip the repository switch on to enable free, automated flake8 testing of each pull request.

flake8 testing of https://github.com/jasonkuster/merge-bot on Python 3.6.4

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./mergebot.py:22:28: E999 SyntaxError: invalid syntax
    print 'Caught {signal}.'.format(signal=signum)
                           ^
1     E999 SyntaxError: invalid syntax