Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coveralls support #3

Open
3 tasks
kennytm opened this issue Jun 13, 2017 · 6 comments
Open
3 tasks

Coveralls support #3

kennytm opened this issue Jun 13, 2017 · 6 comments
Assignees
Milestone

Comments

@kennytm
Copy link
Owner

kennytm commented Jun 13, 2017

  • Produce coveralls-compatible branch coverage JSON info
  • Upload from Travis CI to coveralls
  • Upload from AppVeyor to coveralls

API reference: https://coveralls.zendesk.com/hc/en-us/articles/201350799-API-Reference

Maybe use https://crates.io/crates/coveralls-api

@kennytm kennytm added this to the v1.0.0 milestone Jun 13, 2017
@kennytm kennytm self-assigned this Jun 13, 2017
@marco-c
Copy link

marco-c commented Dec 19, 2017

Have you considered using grcov for parsing and output generation?

@kennytm
Copy link
Owner Author

kennytm commented Dec 20, 2017

@marco-c Thanks, but

GCC 4.9 or higher is required.

Unless it is independent of the C compilers, nope.

@marco-c
Copy link

marco-c commented Dec 20, 2017

It doesn't support GCC < 4.9, but it does support GCC >= 4.9 and LLVM.

Are you interested in GCC < 4.9 support? It's a very old compiler, so I didn't bother, but if your project requires it I can add support.

@kennytm
Copy link
Owner Author

kennytm commented Dec 20, 2017

@marco-c I thought it means GCC needs to be installed? Also I saw the build.rs which references llvm-config that does not exist in $PATH of macOS.


Anyway this project (kennytm/cov) is currently very inactive because the coverage is useless when unused generic functions are simply ignored...

@marco-c
Copy link

marco-c commented Dec 20, 2017

@marco-c I thought it means GCC needs to be installed?

I need to fix the docs, GCC doesn't need to be installed if you want to parse gcno/gcda files generated via LLVM.

Also I saw the build.rs which references llvm-config that does not exist in $PATH of macOS.

Yes, it does require the LLVM libs because it is using the LLVM API to parse the gcno/gcda files.

@marco-c
Copy link

marco-c commented Jun 21, 2018

@kennytm note llvm-config is only needed to build, but nothing is required at runtime. I'm using the LLVM API to make sure I pick up any change to the gcno/gcda format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants