Skip to content

Commit daefce6

Browse files
authored
Merge pull request #9492 from cmonr/travisCI-fix-license_check
Travis CI: Fix for license check job
2 parents eb26d82 + e28bf5a commit daefce6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,9 +302,9 @@ matrix:
302302
- env:
303303
- NAME=licence_check
304304
script:
305-
- echo 'Checking that there is no GPL licence text in code'
306-
- ! git grep -q --ignore-case "gnu general public";
307-
- ! git grep -q --ignore-case "gnu library general public";
305+
- >-
306+
! grep --recursive --max-count=100 --ignore-case --exclude .travis.yml \
307+
"gnu general\|gnu lesser\|lesser general\|public license"
308308
309309
- env:
310310
- NAME=include_check

0 commit comments

Comments
 (0)