travis: fix scancode status if all OK

pull/12529/head
Martin Kojtal 2020-03-03 14:27:52 +00:00
parent 3c441eb763
commit 92711bdcde
1 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,8 @@ matrix:
- | - |
if [ $COUNT == 0 ]; then if [ $COUNT == 0 ]; then
echo "License check OK"; echo "License check OK";
STATUSM="All licenses OK";
set_status "success" "$STATUSM";
else else
echo "License check failed, please review license issues found"; echo "License check failed, please review license issues found";
STATUSM="Needs review, ${COUNT} license issues found"; STATUSM="Needs review, ${COUNT} license issues found";