aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/ci/after_success.sh
blob: dc20e6914f2e9c7a7cc2371c4ea9787b1479bc51 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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