Skip to content

Commit

Permalink
travis: fix license ok, return true
Browse files Browse the repository at this point in the history
  • Loading branch information
0xc0170 committed Sep 23, 2020
1 parent 14714a8 commit 85233e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 85233e0

Please sign in to comment.