Closed gordonbanderson closed 8 years ago
100.00%
Branch #25 has no coverage reports uploaded yet.
No diff could be generated. No reports for
master
found.Powered by Codecov. Updated on successful CI builds.
I think you're officially a better developer than me now. :P
CodeCov does lie in that if a file has 0% coverage it is skipped, so in this case it's 100% of 1 PHP file out of 7 :) I haven't investigated why, it may be a PHPUnit configuration issue.
Oh same issue regarding Scrutinizer badges https://github.com/silverstripe-labs/silverstripe-travis-support - either enable the module under the relevant account in Scrutinizer or remove the badges
Cool, that one is working but as already mentioned that for the comments is currently not
This follows on from https://github.com/silverstripe-labs/silverstripe-travis-support/pull/24 which I've just closed. It allows for extra packages to be installed prior to running tests by adding an extra parameter(s) to the command travis_setup.php command of the form:
or equivalently
Being able to install the extra packages allows for a scenario where a module is tested both with and without an external dependency, for example a module may do different things dependent on whether Translatable is installed or not. External services such as codecov amalgamate coverage from multiple runs, which makes 100% code coverage possible.
I've added badges to the README as per https://github.com/gordonbanderson/silverstripe-travis-support/tree/multiple_require_options but with the paths set for the main branch and repository.
Successful Travis builds with the two different formats for passing extra required packages: