1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-05-07 23:33:52 +00:00
CLI11/.ci/prepare_altern.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

17 lines
347 B
Bash

cd "${DEPS_DIR}"
mkdir -p extrabin
cd extrabin
if [ "$CXX" = "g++" ] ; then
ln -s `which gcc-$COMPILER` gcc
ln -s `which g++-$COMPILER` g++
ln -s `which gcov-$COMPILER` gcov
else
ln -s `which clang-$COMPILER` clang
ln -s `which clang++-$COMPILER` clang++
fi
export PATH="${DEPS_DIR}/extrabin":$PATH
cd "${TRAVIS_BUILD_DIR}"