Repository that serves as example how to build project with Travis CI, Cmake, lcov and CodeCov.
The goal of this project is to build project with following tools:
- C++ version:
C++11
- Build system:
CMake
- C++ compiler:
g++
- Libraries:
STL
only - Code coverage:
lcov
(note: it should show the code coverage is below 100%) CodeCov
(code coverage is measured by CodeCov).- Source: multiple files
To build the project you need to install CMake
. Here are the instructions. To create code coverage report you need to install lcov
. Download lcov
from here you can download latest lcov
and here are instructions
. This reports will be later uploaded to CodeCov servers.
Goes to Richel Bilderbeek for inspiration and all work on Travis CI tutorials.
Here is link to the same project with structure (except no lcov
) and here is list of all his projects if you want make build with travis but with different configuration.
This project is licensed under the MIT License - see the LICENSE file for details.