aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-07-09 13:01:35 +0200
committerSimon Warta <[email protected]>2015-07-09 13:01:35 +0200
commit5f70b0f85bf4946c5e1f2c2736b406b37c36ac5e (patch)
tree103de7243e2c92598a2e3af2d306f29929535e6c /src
parent92be92e6dd988b46c230e48710d8fa0040149123 (diff)
Assume that $COVERALLS_REPO_TOKEN might not be set (e.g. pull requests)
Diffstat (limited to 'src')
-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