This is an example project that demonstrates how https://github.com/JoakimSoderberg/coveralls-cmake can be used.
$ git clone https://github.com/JoakimSoderberg/coveralls-cmake-example.git
$ cd coveralls-cmake-example
$ git submodule update --init
$ mkdir build && cd build
$ cmake -DCOVERALLS=ON -DCMAKE_BUILD_TYPE=Debug ..
$ make
$ make coveralls