aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/ci/after_success.sh
blob: 2fe809f42852af193256736f12b9f0cf15c09381 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

set -ev

if [ "$BUILD_MODE" = "coverage" ]; then
  lcov --directory . --capture --output-file coverage.info
  lcov --remove coverage.info 'tests/*' '/usr/*' --output-file coverage.info
  lcov --list coverage.info
  coveralls-lcov -t $COVERALLS_REPO_TOKEN coverage.info
fi