mirror of https://github.com/ARMmbed/mbed-os.git
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 travispull/12437/head
parent
0995ece3b2
commit
db989ba65a
|
@ -70,6 +70,7 @@ matrix:
|
|||
- >-
|
||||
git diff --name-only --diff-filter=d FETCH_HEAD..HEAD \
|
||||
| ( grep '.\(c\|cpp\|h\|hpp\|py\)$' || true ) \
|
||||
| ( grep -v '^tools/test/toolchains/api_test.py') \
|
||||
| while read file; do cp --parents "${file}" SCANCODE; done
|
||||
- scancode -l --json-pp scancode.json SCANCODE
|
||||
- python ./tools/test/travis-ci/scancode-evaluate.py -f scancode.json
|
||||
|
|
Loading…
Reference in New Issue