Skip to content
This repository was archived by the owner on Jun 8, 2024. It is now read-only.
This repository was archived by the owner on Jun 8, 2024. It is now read-only.

Add code coverage + coveralls support #87

@springmeyer

Description

@springmeyer

We should add coveralls support for per-commit tracking of C++ code coverage. The overall idea is:

  • the node-osrm C++ code is built in debug mode and with the --coverage flag
  • clang++ is used
  • the job is run on OS X since it has a recent enough clang++ to support --coverage without issues
  • the tests are run and the instrumented binaries dump metadata about what code paths where hit
  • cpp-coveralls handles upload the data to coveralls.io (which needs the repo enabled)

node-fontnik is a good reference for how to do this: mapbox/node-fontnik#79.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions