mirror of https://github.com/ARMmbed/mbed-os.git
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).pull/13659/head
parent
7c214cbd68
commit
5eeced1c54
|
@ -80,10 +80,10 @@ matrix:
|
|||
- scancode -l --json-pp scancode_new_files.json SCANCODE_NEW_FILES
|
||||
- python ./tools/test/travis-ci/scancode-evaluate.py scancode_new_files.json || true
|
||||
- cat scancode-evaluate.log
|
||||
- COUNT=$(cat scancode-evaluate.log | grep 'File:' | wc -l) || true
|
||||
- COUNT=$(cat scancode-evaluate.log | grep 'File:' | grep -v 'SPDX' | wc -l) || true
|
||||
- python ./tools/test/travis-ci/scancode-evaluate.py scancode_new_files.json
|
||||
- cat scancode-evaluate.log
|
||||
- COUNT_NEW_FILES=$(cat scancode-evaluate.log | grep 'File:' | wc -l) || true
|
||||
- COUNT_NEW_FILES=$(cat scancode-evaluate.log | grep 'File:' | grep -v 'SPDX' | wc -l) || true
|
||||
- |
|
||||
if [ $COUNT == 0 ] && [ $COUNT_NEW_FILES == 0 ]; then
|
||||
echo "License check OK";
|
||||
|
|
Loading…
Reference in New Issue