All Projects → okkez → coveralls-lcov

okkez / coveralls-lcov

Licence: MIT license
lcov support for coveralls.io

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to coveralls-lcov

cov
An emacs extension for displaying coverage data on your code
Stars: ✭ 65 (+160%)
Mutual labels:  coveralls, lcov
continuous-integration-with-python
How to test your python code. How to automatically run your tests for your Python code. How to get reports of the tests coverage
Stars: ✭ 25 (+0%)
Mutual labels:  coveralls
phptt
phptt a.k.a php test tools
Stars: ✭ 15 (-40%)
Mutual labels:  lcov
dashboard
Simple code build dashboard
Stars: ✭ 14 (-44%)
Mutual labels:  coveralls
Typescript Library Starter
Starter kit with zero-config for building a library in TypeScript, featuring RollupJS, Jest, Prettier, TSLint, Semantic Release, and more!
Stars: ✭ 3,943 (+15672%)
Mutual labels:  coveralls
figma-export
Export tool for Figma. You can easily and automatically export your Figma components and use them directly into your website.
Stars: ✭ 99 (+296%)
Mutual labels:  coveralls
luacov-coveralls
LuaCov reporter for coveralls.io service
Stars: ✭ 45 (+80%)
Mutual labels:  coveralls
containerized-golang-and-vuejs
This repository explores an application using docker, golang, and vuejs
Stars: ✭ 19 (-24%)
Mutual labels:  coveralls
example-node-and-browser-qunit-ci
Example project with continuous integration for linting and cross-browser testing of isomorphic JavaScript.
Stars: ✭ 18 (-28%)
Mutual labels:  coveralls
projection-pursuit
An implementation of multivariate projection pursuit regression and univariate classification
Stars: ✭ 24 (-4%)
Mutual labels:  coveralls
SpringBootRestAPI
A ready-to-use Template for Rest API using spring-boot-microservices, MongoDB as Database, Integrated with codecov and sonarqube, deployable to cloud.
Stars: ✭ 24 (-4%)
Mutual labels:  coveralls
api-skel
Webpack + Typescript + Express + Jest + Chai + Gulp
Stars: ✭ 18 (-28%)
Mutual labels:  coveralls
react-testing-mocha-chai-enzyme
A solid test setup for React components with Mocha, Chai, Sinon, Enzyme in a Webpack/Babel application.
Stars: ✭ 48 (+92%)
Mutual labels:  coveralls
gocoverutil
No description or website provided.
Stars: ✭ 25 (+0%)
Mutual labels:  coveralls
catch cmake coverage
Integration of Catch, CMake and CMake CodeCoverage module and basic examples in C++.
Stars: ✭ 30 (+20%)
Mutual labels:  lcov
istanbul-badges-readme
Creates and updates README testing coverage badges with your json-summary
Stars: ✭ 77 (+208%)
Mutual labels:  lcov
lcov-cop
A Github Action which helps enforce code coverage
Stars: ✭ 13 (-48%)
Mutual labels:  lcov
CMake-codecov
CMake module for code coverage
Stars: ✭ 82 (+228%)
Mutual labels:  lcov

Coveralls::Lcov

Upload coverage information generated by LCOV to coveralls.io.

coveralls-lcov supports travis-ci.org and travis-ci.com (via the --service-name switch).

Installation

Add this line to your application's Gemfile:

gem 'coveralls-lcov'

And then execute:

$ bundle

Or install it yourself as:

$ gem install coveralls-lcov

Alternatively if you want to install your own build of coveralls-lcov system-wide (one-step installation):

$ sudo rake install

Usage

In .travis.yml

Do not use sudo when install Gem because sudo doesn't refer PATH changed by RVM.

install:
  - sudo apt-get install -y lcov
  - gem install coveralls-lcov
before_script:
  - ./autogen.sh
  - ./configure --enable-coverage
script:
  - make check
after_success:
  - lcov --compat-libtool --directory . --capture --output-file coverage.info
  - coveralls-lcov coverage.info

or by hand

$ coveralls-lcov --repo-token "YOUR TOKEN" coverage.info

you can also put the token into the config file .coveralls.yml like this

repo_token: abcd....

and then execute

$ coveralls-lcov coverage.info

C1 coverage support

You can report C1 coverage using --rc lcov_branch_coverage=1.

after_success:
  - lcov --compat-libtool --directory . --capture --rc lcov_branch_coverage=1 --output-file coverage.info 
  - coveralls-lcov coverage.info

See also lcovrc(5).

Available command line flags

Flag Description
-t --repo-token=TOKEN The secret token for your repository, found at the bottom of your repository’s page on Coveralls.
-s --service_name=SERVICE 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).
--service-job-id=JOB_ID A unique identifier of the job on the service specified by service_name.
-b --branch=BRANCH The current Git branch to be reported to Coveralls (not needed for Travis or if git rev-parse properly reports the branch).
--service-pull-request=PULL_REQUEST The associated pull request ID of the build. Used for updating the status and/or commenting.
--flag-name=FLAG_NAME If this is set, the job being reported will be named in the view and have it’s own independent status reported to your VCS provider.
--retry=N Retries sending coverage data on failure to Coveralls N times (default: 3)
--delay=N Delays the next retry by N seconds (default: 3)
--source-encoding=ENCODING The encoding of the source file (default: UTF-8)
-v --verbose Prints debug information like the HTTP request payload.
-n --dry-run Converts coverage data and optionally prints coverage data in verbose mode, but does not send it to Coveralls.
-h --host=HOST Host of Coveralls endpoint (default: coveralls.io)
-p --port=PORT Post of Coveralls endpoint (default: 443)
--[no]ssl Use SSL for connecting to Coveralls (default)

Contributing

  1. Fork it ( http://github.com/okkez/coveralls-lcov/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].