Skip to content

Commit 745a4b4

Browse files
authored
Merge pull request #12505 from 0xc0170/fix_travis_grep
travis: ignore grep return value for scancode
2 parents 1629103 + 9266ed1 commit 745a4b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +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') \
73+
| ( grep -v '^tools/test/toolchains/api_test.py' || true ) \
7474
| while read file; do cp --parents "${file}" SCANCODE; done
7575
- scancode -l --json-pp scancode.json SCANCODE
7676
- python ./tools/test/travis-ci/scancode-evaluate.py -f scancode.json || true

0 commit comments

Comments
 (0)