【发布时间】:2016-04-09 05:31:13
【问题描述】:
我使用 Drone 作为持续集成 (CI) 服务器。
使用此脚本开始测试:
image: drone/matlab:R2014a
script:
- cd test
- matlab -nodesktop -nosplash -r ci_run_tests
notify:
email:
on_failure: blame
函数 ci_run_tests 就是基于这个答案: https://stackoverflow.com/a/23347768
对于 Jenkins,作者建议将测试结果写入 *.tap 文件,在我的例子中是这样的:
1..4
ok 1 - test_annotation_to_pitch/test_with_systematic_scale
ok 2 - test_audio_to_pitch/test_120_vs_360
not ok 3 - test_pitch_to_CENS/test_12_vs_36
ok 4 - test_pitch_to_chroma/test_12_vs_36
测试 3 失败。 Drone 不知道这些信息,因为它不解释那些 *.tap 文件,它只注册了 Matlab 正确退出 - 因此说构建本身可以工作。
我的问题: Drone 是否支持某种功能,例如 Jenkins 中的 *.tap 文件
谢谢!
【问题讨论】:
-
您可能会觉得这很有趣。如果 CI 系统不处理 TAP 文件,则根本不需要包含 TAPPlugin。 blogs.mathworks.com/developer/2015/01/20/…
标签: matlab continuous-integration drone.io