CoverallsAliases.

CoverallsIo(ICakeContext, FilePath, CoverallsIoSettings, ProcessSettings) Method

Summary

Uploads the code coverage report to Coveralls.io using the coveralls.io tool with the specified settings, and the specified process settings.
Assembly
Cake.Coveralls.dll
Namespace
Cake.Coveralls
Containing Type
CoverallsAliases

Syntax

public static void CoverallsIo(this ICakeContext context, FilePath codeCoverageReportFilePath, CoverallsIoSettings settings, ProcessSettings processSettings)

Examples

 var processSettings = new ProcessSettings
 {
     RedirectStandardError = true,
     RedirectedStandardErrorHandler = line => null,
 };

 CoverallsIo("coverage.xml",
     new CoverallsIoSettings { RepoToken = "abcdef" },
     processSettings);

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
codeCoverageReportFilePath FilePath The path to the code coverage file.
settings CoverallsIoSettings The settings.
processSettings ProcessSettings The process settings, or for the runner's defaults. Useful for redirecting standard error or output away from the build log.

Return Value

Type Description
void