rank rank - 10 days ago 5
Ruby Question

Export travis log after build

I am using Travis-ci for building my programs but I needed its log for some processing. So is there a way to export Travis-ci logs after every build in the text file?

Answer

If you're able to get your tests to output their results to a text file log, you can then use the Travis after_success and/or after_failure build lifecycle steps (documentation here) to run a command which will send you the log files or upload them somewhere.

See my answer to a similar question here.

Comments