Skip to content

Commit 4822e50

Browse files
0xc0170jeromecoutant
authored andcommitted
travis: ignore spdx reports
Do not force red status for PRs due to SPDX missing (license must be there). We will add better SPDX checks later (more work required to enable these for 3rd party code).
1 parent 7c214cb commit 4822e50

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
@@ -83,7 +83,7 @@ matrix:
8383
- COUNT=$(cat scancode-evaluate.log | grep 'File:' | wc -l) || true
8484
- python ./tools/test/travis-ci/scancode-evaluate.py scancode_new_files.json
8585
- cat scancode-evaluate.log
86-
- COUNT_NEW_FILES=$(cat scancode-evaluate.log | grep 'File:' | wc -l) || true
86+
- COUNT_NEW_FILES=$(cat scancode-evaluate.log | grep 'File:' | grep -v 'SPDX' | wc -l) || true
8787
- |
8888
if [ $COUNT == 0 ] && [ $COUNT_NEW_FILES == 0 ]; then
8989
echo "License check OK";

0 commit comments

Comments
 (0)