Skip to content

Commit

Permalink
add --report-only option to kcov report
Browse files Browse the repository at this point in the history
  • Loading branch information
bluejekyll committed May 2, 2017
1 parent 1bc104a commit 825fd08
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/run_kcov.sh
Expand Up @@ -53,10 +53,10 @@ done
echo "----> ran $test_count test(s)"
echo "----> merging and uploading to coveralls.io"

if [[ "$test_count" -eq 1 ]] ; then
echo kcov --coveralls-id=${TRAVIS_JOB_ID} target/kcov-*
kcov --coveralls-id=${TRAVIS_JOB_ID} target/kcov-*
if [[ "$test_count" -eq 1 ]] ; then
echo kcov --coveralls-id=${TRAVIS_JOB_ID} --report-only target/kcov-*
kcov --coveralls-id=${TRAVIS_JOB_ID} --report-only target/kcov-*
elif [[ "$test_count" -gt 1 ]] ; then
echo kcov --coveralls-id=${TRAVIS_JOB_ID} --merge target/kcov-*
kcov --coveralls-id=${TRAVIS_JOB_ID} --merge target/kcov-*
echo kcov --coveralls-id=${TRAVIS_JOB_ID} --report-only --merge target/kcov-*
kcov --coveralls-id=${TRAVIS_JOB_ID} --report-only --merge target/kcov-*
fi

0 comments on commit 825fd08

Please sign in to comment.