mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #12505 from 0xc0170/fix_travis_grep
travis: ignore grep return value for scancodepull/12508/head
commit
745a4b4513
|
|
@ -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