I'm using karma to run unit tests and generate coverage reports. That all works fine but I want to publish the lcov.info
file to Code Climate from Travis CI. I've done it before and it works great, but the url from that test runner was static.
The issue is that karma creates a subfolder for each instance it runs such as test/coverage/PhantomJS 1.9.7 (Mac OS X)/lcov.info
. Is there a clean way to get that url to feed into travis? I don't want to have to remember to update a hardcoded value every time PhantomJS gets updated. Does anyone know if the .travis.yml
file supports something like glob patterns.
Thoughts?