How do I integrate travis ci with codeclimate test coverage in Python?

so indeed it looks like at your end it's only an issue of a type as Peter mentioned in a comment. Your after_success should have codeclimate-test-reporter - it looks like you have it, but travis is reporting something else.

Now to why I opened a bounty and why it was actually just me being not understanding how codeclimate_test_reporter works. I wanted to report my coverage from py.test. codeclimate_test_reporter has a pretty readme on GitHub showing how to create a coverage report. However from their example, it looks like providing codeclimate-test-reporter as an argument to --cov would automatically send a report to codecliamte. That is not the case

Using py.test, what you want to do is:

script:
- py.test --cov=YourModuleYouWantToCover test_folder
- codeclimate-test-reporter --file .coverage

Magic happened, for the first time, I have a coverage report on codeclimate!

edit: I submitted a pull request to codeclimate-test-reporter to update their readme and it has been merged, so hopefully less confusion for future people!