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

avnomad / lost-art / 3
46%

Build:
DEFAULT BRANCH: default
Ran 26 May 2018 06:47AM UTC
Jobs 1
Files 22
Run time 2s
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

pending completion
3

push

travis-ci

avnomad
Updated Travis CI configuration to upload code coverage statistics to Coveralls.

This will enable tracking how code coverage changes over time and also give us a
badge! Since Travis CI only works with GitHub, only the coverage of the GitHub
mirror will be tracked.

[cpp-coveralls](https://github.com/eddyxu/cpp-coveralls/) was used for the
upload.

Directed CMake to instrument built tests for use with gcov. Due to a mismatch
between the formats expected by the gcov version present in Travis CI VM and
produced by clang, only the gcc job will upload coverage reports for now.

Curiously enough, cpp-coveralls behaves quite differently on my machine than on
Travis CI VM. In particular the current command would include coverage for the
test files themselves on my machine, but seems to upload statistics only for
the actual source files when run on Travis. To make things even more bizarre it
appears to include system libraries in the Travis log!

Moreover the command that produces the desired results on my local machine:
`cpp-coveralls --gcov-options '\-lpr \-s "repo-path/source"' --include source`
produces the expected output in the Travis log, but uploads 0 'relevant lines'
to Coveralls.

Consequently I push the command that works for now, but may need to change it in
the future if cpp-coveralls behaviour returns to normal.

Also arranged for Travis CI to only build the default branch.

--HG--
branch : administrative

728 of 1574 relevant lines covered (46.25%)

937.99 hits per line

Jobs
ID Job ID Ran Files Coverage
2 3.2 26 May 2018 06:47AM UTC 0
46.25
Travis Job 3.2
Source Files on build 3
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3
  • 9cfe2245 on github
  • Next Build on default (#4)
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