When I run tests, I have PHPUnit set up to generate HTML files with code coverage information. I would like to have this tool run automatically on Travis instead of locally. However, when I run it on Travis, there is no way to view the files that were generated. Is there a way to do this?
You can
-
cat
them into the build log - upload them somewhere by hand with standard Linux tools or tools that you install
- Specifically for coverage data, there are online services like https://coveralls.io/ that allow you to upload data from automated builds and view it there. See https://docs.travis-ci.com/user/coveralls/ ; or
- upload them somewhere with one of the stock deployers
Thank you!