Codecov qmake_gcc_cpp11_boost_test_gcov Example
This GitHub is part of the Travis C++ Tutorial.
The goal of this project is to have a clean Travis CI build, with specs:
- Build system:
qmake
- C++ compiler:
gcc
- C++ version:
C++11
- Libraries:
STL
and Boost, demonstrating Boost.Test - Code coverage: yes
- Source: multiple files
Add to your .travis.yml
file.
language: cpp
compiler: gcc
addons:
apt:
packages: libboost-all-dev
before_install:
- sudo pip install codecov
script:
- ./build_test.sh
after_success:
- codecov
gcov-5 main_test.cpp
gcov-5 my_functions.cpp
Repository tokens are required for (a) all private repos, (b) public repos not using Travis-CI, CircleCI or AppVeyor. Find your repository token at Codecov and provide via appending -t <your upload token>
to you where you upload reports.