travis: fix license ok, return true

pull/13619/head
Martin Kojtal 2020-09-23 16:04:49 +01:00
parent 14714a8055
commit 85233e066a
1 changed files with 2 additions and 0 deletions

View File

@ -87,11 +87,13 @@ matrix:
- |
if [ $COUNT == 0 ] && [ $COUNT_NEW_FILES == 0 ]; then
echo "License check OK";
true;
elif [ $COUNT_NEW_FILES != 0 ]; then
echo "License check failed, new files with the license issues found";
false;
else
echo "License check failed, please review license issues found in modified files";
false;
fi
- <<: *basic-vm