Skip to content

Commit dfee8a2

Browse files
authored
travis license: failure only for new files
1 parent 150ca84 commit dfee8a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ matrix:
9898
echo "License check OK";
9999
STATUSM="All licenses OK";
100100
set_status "success" "$STATUSM";
101-
elif [ $COUNT != 0 ] && [ $COUNT_NEW_FILES != 0 ]; then
101+
elif [ $COUNT_NEW_FILES != 0 ]; then
102102
echo "License check failed, files with the license issues found";
103103
STATUSM="Needs review, license issues in modified files: ${COUNT}, new files: ${COUNT_NEW_FILES}";
104104
set_status "failure" "$STATUSM";

0 commit comments

Comments
 (0)