I have this project on GitHub. In my .travis.yml file, I use the same configuration I use on every project, to upload the code coverage data to Scrutinizer:
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover test/build/logs/clover.xml
Here's the most recent successful build on Travis:
https://travis-ci.org/mindplay-dk/boxy/builds/61963347
And here's the most recent failed inspection on Scrutinizer:
https://scrutinizer-ci.com/g/mindplay-dk/boxy/inspections/ac33c2fb-6083-4984-bf41-983e4d0f54e2
The error message "Scrutinizer was notified that the tests failed", appears to show up as soon as Travis uploads the code coverage data.