We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d93a45 commit 3c441ebCopy full SHA for 3c441eb
.travis.yml
@@ -77,13 +77,12 @@ matrix:
77
after_success:
78
- python ./tools/test/travis-ci/scancode-evaluate.py -f scancode.json
79
- cat scancode-evaluate.log
80
- - retval=$?
+ - COUNT=$(cat scancode-evaluate.log | grep 'File:' | wc -l)
81
- |
82
- if [ $retval == 0 ]; then
+ if [ $COUNT == 0 ]; then
83
echo "License check OK";
84
else
85
echo "License check failed, please review license issues found";
86
- COUNT=$(cat scancode-evaluate.log | grep File: | wc -l)
87
STATUSM="Needs review, ${COUNT} license issues found";
88
set_status "success" "$STATUSM";
89
fi
0 commit comments