From 124114c0a8add705d4c3affb6f602b0a36eb4237 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 7 Aug 2017 13:54:49 -0700 Subject: Richer CI support on Travis, including code coverage. We use codecov.io; this seems to work well. --- etc/codecov.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 etc/codecov.sh (limited to 'etc/codecov.sh') diff --git a/etc/codecov.sh b/etc/codecov.sh new file mode 100755 index 00000000..58ce44fc --- /dev/null +++ b/etc/codecov.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +if [ "${COVERAGE}" != ON ] +then + echo "Code coverage not enabled." + exit 0 +fi + +bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage" +echo 0 -- cgit v1.2.3-70-g09d2