mirror of https://github.com/ARMmbed/mbed-os.git
travis: ignore grep return value for scancode
The file is not always present in changed files, thus we need to just ignore the return status.pull/12505/head
parent
1629103fb1
commit
9266ed10ae
|
@ -70,7 +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') \
|
||||
| ( grep -v '^tools/test/toolchains/api_test.py' || true ) \
|
||||
| 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 || true
|
||||
|
|
Loading…
Reference in New Issue