Skip to content

Commit 54e11e2

Browse files
committed
Modified travis license check to be verbose with license errors.
1 parent 9e60370 commit 54e11e2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,4 +254,9 @@ matrix:
254254
- env:
255255
- NAME=license_check
256256
script:
257-
- if [[ ! -z $(git grep --ignore-case "GNU General Public License") ]]; then exit 1; fi
257+
- |
258+
FILES=$(git grep --ignore-case "GNU General Public License")
259+
if [[ ! -z $FILES ]]; then
260+
echo -e "${FILES}"
261+
exit 1
262+
fi

0 commit comments

Comments
 (0)