I am using Drone as a continuous integration (CI) server.
The tests are started using this script:
image: drone/matlab:R2014a
script:
- cd test
- matlab -nodesktop -nosplash -r ci_run_tests
notify:
email:
on_failure: blame
The function ci_run_tests is based on this answer: https://stackoverflow.com/a/23347768
As for Jenkins, the author suggests to write the test results into a *.tap-file, in my case looking like this:
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
Test 3 was failing. Drone is not aware of this information since it does not interpret those *.tap files, it only registered that Matlab exited properly - hence saying that the build itself worked.
My Question: Does Drone support some kind of functionality like the *.tap file in Jenkins
Thanks!