• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

JoakimSoderberg / jansson
89%
master: 90%

Build:
Build:
LAST BUILD BRANCH: friendly_error
DEFAULT BRANCH: master
Repo Added 09 Dec 2014 10:39PM UTC
Files 11
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH coveralls
branch: coveralls
CHANGE BRANCH
x
Reset
  • coveralls
  • friendly_error
  • infinity_warning
  • master
  • simple_parse_cmake

pending completion
33

push

travis-ci

JoakimSoderberg
Add support for coverage/coveralls.io in cmake project.

This adds support for http://coveralls.io/ to the cmake project. This can then be run via a new Travis job, which uploads json containing the coverage data to the website.

To use this, please login usin github at http://coveralls.io/ and enable the Jansson project. You can then get a nice percentage badge for code coverage after each Travis buid. Coveralls will also comment on pull request with coverage info.

To test and run it locally do:

```bash
$ mkdir build && cd build
$ cmake -DJANSSON_COVERALLS=ON -DCMAKE_BUILD_TYPE=Debug ..
$ cmake --build .                      # $ make
$ cmake --build . --target coveralls   # $ make coveralls
```

There is also another script that generates a local HTML page using lcov CodeCoverage.cmake which can be run using

```bash
$ make coverage
```

The required depdencies to run this are:
gcov
curl
lcov (is needed for the normal CodeCoverage script)

1499 of 1690 relevant lines covered (88.7%)

175.55 hits per line

Relevant lines Covered
Build:
Build:
1690 RELEVANT LINES 1499 COVERED LINES
175.55 HITS PER LINE
Source Files on coveralls
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
33 coveralls Add support for coverage/coveralls.io in cmake project. This adds support for http://coveralls.io/ to the cmake project. This can then be run via a new Travis job, which uploads json containing the coverage data to the website. To use this, plea... push 12 Dec 2014 11:09PM UTC JoakimSoderberg travis-ci pending completion  
32 coveralls Add license push 12 Dec 2014 10:58PM UTC JoakimSoderberg travis-ci pending completion  
31 coveralls Don't fail on curl not existing just by including push 12 Dec 2014 10:35PM UTC JoakimSoderberg travis-ci pending completion  
30 coveralls Added some coveralls helper. Also add an option to upload to coveralls. push 12 Dec 2014 07:33PM UTC JoakimSoderberg travis-ci pending completion  
26 coveralls Only run coveralls on gcc. Also coverage should not fail the entire build. push 12 Dec 2014 10:12AM UTC JoakimSoderberg travis-ci pending completion  
25 coveralls Only run coveralls on gcc. Also coverage should not fail the entire build. push 12 Dec 2014 10:04AM UTC JoakimSoderberg travis-ci pending completion  
24 coveralls Only run coveralls on gcc. Also coverage should not fail the entire build. push 12 Dec 2014 09:51AM UTC JoakimSoderberg travis-ci pending completion  
23 coveralls Remember to upload as well! push 12 Dec 2014 12:20AM UTC JoakimSoderberg travis-ci pending completion  
See All Builds (24)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc