CoverallsArgs

A hash representing the coverage data from a single run of a test suite.

You must specify either repo_token or a service name and job id.

Members

Functions

toJson
auto toJson()

Converts the instance to json

Structs

GitEntry
struct GitEntry
Undocumented in source.
SourceFile
struct SourceFile
Undocumented in source.

Variables

git
GitEntry git;

OPTIONAL A hash of Git data that can be used to display more information to users.

repo_token
string repo_token;

REQUIRED The secret token for your repository, found at the bottom of your repository's page on Coveralls.

run_at
string run_at;

OPTIONAL A timestamp of when the job ran. Must be parsable by Ruby.

service_job_id
string service_job_id;

OPTIONAL A unique identifier of the job on the service specified by service_name.

service_name
string service_name;

REQUIRED The CI service or other environment in which the test suite was run. This can be anything, but certain services have special features (travis-ci, travis-pro, or coveralls-ruby).

source_files
SourceFile[] source_files;

REQUIRED An array of source files, including their coverage data.

Meta