aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/ci/after_success.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts/ci/after_success.sh')
-rwxr-xr-xsrc/scripts/ci/after_success.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scripts/ci/after_success.sh b/src/scripts/ci/after_success.sh
index 2fe809f42..814e49d93 100755
--- a/src/scripts/ci/after_success.sh
+++ b/src/scripts/ci/after_success.sh
@@ -6,5 +6,6 @@ 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
+ # Assume that $COVERALLS_REPO_TOKEN might not be set (e.g. pull requests)
+ coveralls-lcov --repo-token="$COVERALLS_REPO_TOKEN" coverage.info
fi