1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-05-02 05:33:53 +00:00
CLI11/.ci/build_lcov.sh
Henry Schreiner 89ed072f39 Codecov (#5)
* Adding first try at coverage

* Fix for CMakeLists

* Fix for wrong shell

* Fixes to Coverage

* Fix for missing coverage

* Adding badge

* Using repo token

* Adding test files to coverage

* Fix typo

* Adding codecov

* Fix for code coverage

* Fix single file tests under CodeCov

* Seperating coverage steps

* Fix testrunner to be ctest

* Fix constant rebuilding of doxygen

* Adding coverage, tested locally

* Adding compiler version to gcov

* Fixing code coverage gcov download and use

* Adding Coverage build type with some fixes

* Better way of using gcc

* Adding coverage badge

* Removing tests from calcs
2017-03-07 16:17:30 -05:00

12 lines
372 B
Bash

LCOV_URL="http://ftp.de.debian.org/debian/pool/main/l/lcov/lcov_1.13.orig.tar.gz"
cd "${DEPS_DIR}"
if [[ ! -f "${DEPS_DIR}/lcov/bin/lcov" ]] ; then
echo "Downloading lcov"
mkdir -p lcov
travis_retry wget --no-check-certificate --quiet -O - "${LCOV_URL}" | tar --strip-components=1 -xz -C lcov
fi
export PATH="${DEPS_DIR}/lcov/bin:${PATH}"
cd "${TRAVIS_BUILD_DIR}"