Skip to content

Commit

Permalink
[ci] upload kcov results after workspace checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbepop committed Aug 14, 2019
1 parent aa4be8c commit 7d61fcf
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,19 @@ script:
./scripts/check-workspace.sh
check_workspace=$?
./scripts/check-examples.sh
check_examples=$?
if [ $check_examples -eq 0 ] && [ $check_workspace -eq 0 ]
if [ $check_workspace -eq 0 ]
then
# Execute and upload kcov results
cargo kcov --verbose --coveralls --all --no-clean-rebuild
kcov=$?
bash <(curl -s https://codecov.io/bash)
fi
./scripts/check-examples.sh
check_examples=$?
if [ $check_examples -eq 0 ] && [ $check_workspace -eq 0 ]
then
echo "All checks have passed!"
exit 0
else
Expand Down

0 comments on commit 7d61fcf

Please sign in to comment.