I'm facing with the following problem, trying to execute code climate reporter on .travis.yml:
Code Climate encountered an exception: CodeClimate::TestReporter::InvalidPayload No source files were found in the test report payload
Is there anybody here who could help me?
Can you post your spec_helper.rb file? This error can be because of quite a few reasons :
Calling SimpleCov.start and CodeClimate::TestReporter.start
Add SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ SimpleCov::Formatter::HTMLFormatter, CodeClimate::TestReporter::Formatter ]
So, the final spec_helper.rb is something like this :