Skip to content

Commit 96740b6

Browse files
committed
travis: count always with true, status return later
1 parent 85233e0 commit 96740b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ matrix:
8080
- scancode -l --json-pp scancode_new_files.json SCANCODE_NEW_FILES
8181
- python ./tools/test/travis-ci/scancode-evaluate.py -f scancode_new_files.json || true
8282
- cat scancode-evaluate.log
83-
- COUNT=$(cat scancode-evaluate.log | grep 'File:' | wc -l)
83+
- COUNT=$(cat scancode-evaluate.log | grep 'File:' | wc -l) || true
8484
- python ./tools/test/travis-ci/scancode-evaluate.py -f scancode_new_files.json
8585
- cat scancode-evaluate.log
86-
- COUNT_NEW_FILES=$(cat scancode-evaluate.log | grep 'File:' | wc -l)
86+
- COUNT_NEW_FILES=$(cat scancode-evaluate.log | grep 'File:' | wc -l) || true
8787
- |
8888
if [ $COUNT == 0 ] && [ $COUNT_NEW_FILES == 0 ]; then
8989
echo "License check OK";

0 commit comments

Comments
 (0)