From 5f70b0f85bf4946c5e1f2c2736b406b37c36ac5e Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Thu, 9 Jul 2015 13:01:35 +0200 Subject: Assume that $COVERALLS_REPO_TOKEN might not be set (e.g. pull requests) --- src/scripts/ci/after_success.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/scripts') 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 -- cgit v1.2.3