You need to sign in or sign up before continuing.
提交 1e988b23 编写于 作者: C Claudio André 提交者: Martin Kletzander

CI: show the log in case of failure

Disclose the content of the 'test-suite.log' file (if available) in
case of failures inside Travis-CI. This is needed to understand what
happened and to provide hints about the proper fix (if applicable).
上级 411713d4
...@@ -83,3 +83,11 @@ matrix: ...@@ -83,3 +83,11 @@ matrix:
# many unit tests fail & so does syntax-check, so skip for now # many unit tests fail & so does syntax-check, so skip for now
# one day we must fix it though.... # one day we must fix it though....
- make -j3 - make -j3
after_failure:
- echo '============================================================================'
- 'if [ -f $(pwd)/tests/test-suite.log ]; then
cat $(pwd)/tests/test-suite.log;
else
echo "=== NO LOG FILE FOUND ===";
fi'
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册