提交 0b7b8c44 编写于 作者: C Cleber Rosa

Lint: add check for warnings also on CI

Signed-off-by: NCleber Rosa <crosa@redhat.com>
上级 7fb38a04
......@@ -161,7 +161,7 @@ results_dir_content() {
[ "$SKIP_RESULTSDIR_CHECK" ] || RESULTS_DIR_CONTENT="$(ls $RESULTS_DIR 2> /dev/null)"
if [ "$TRAVIS" == "true" ]; then
run_rc lint 'RESULT=$(mktemp); inspekt lint --exclude=.git --enable W0102,W0611 &>$RESULT || { cat $RESULT; rm $RESULT; exit -1; }; rm $RESULT'
run_rc lint 'RESULT=$(mktemp); inspekt lint --exclude=.git --enable W0102,W0611,W0612,W0622 &>$RESULT || { cat $RESULT; rm $RESULT; exit -1; }; rm $RESULT'
else
run_rc lint 'inspekt lint --exclude=.git --enable W0102,W0611,W0612,W0622'
fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册