Skip to content

Commit

Permalink
coversall
Browse files Browse the repository at this point in the history
  • Loading branch information
nima committed Jan 11, 2017
1 parent f95b979 commit 3184a97
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions share/unit/citm
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,18 @@ function citm:kcov() {
shift
echo "$ citm:kcov run ${*}"
mkdir coverage
kcov coverage "$@"
if [ ${#TRAVIS_JOB_ID} -gt 0 ]; then
kcov coverage "$@"
else
kcov --coveralls-id=${TRAVIS_JOB_ID?} coverage "$@"
fi
e=$?
echo "# citm:kcov run exit status: $e"
;;

1:report)
echo "$ citm:kcov report codedov.io/bash"
bash <(curl -s https://codecov.io/bash)
bash <(curl -s https://codecov.io/bash) -s coverage
e=$?
echo "# citm:kcov report exit status: $e"
;;
Expand Down

0 comments on commit 3184a97

Please sign in to comment.