diff options
author | Simon Warta <[email protected]> | 2015-07-09 13:01:35 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-07-09 13:01:35 +0200 |
commit | 5f70b0f85bf4946c5e1f2c2736b406b37c36ac5e (patch) | |
tree | 103de7243e2c92598a2e3af2d306f29929535e6c /src/scripts | |
parent | 92be92e6dd988b46c230e48710d8fa0040149123 (diff) |
Assume that $COVERALLS_REPO_TOKEN might not be set (e.g. pull requests)
Diffstat (limited to 'src/scripts')
-rwxr-xr-x | src/scripts/ci/after_success.sh | 3 |
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 |