Skip to content

Commit db989ba

Browse files
committed
travis: exclude one file from scanning licenses
tools/test/toolchains/api_test.py is problematic as it contains code for checking tools. This contains license code in strings - scancode things these are the licenses in the file. We skip it checking in travis
1 parent 0995ece commit db989ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ matrix:
7070
- >-
7171
git diff --name-only --diff-filter=d FETCH_HEAD..HEAD \
7272
| ( grep '.\(c\|cpp\|h\|hpp\|py\)$' || true ) \
73+
| ( grep -v '^tools/test/toolchains/api_test.py') \
7374
| while read file; do cp --parents "${file}" SCANCODE; done
7475
- scancode -l --json-pp scancode.json SCANCODE
7576
- python ./tools/test/travis-ci/scancode-evaluate.py -f scancode.json

0 commit comments

Comments
 (0)