2

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?

rank
  • 83
  • 7
  • why do you need to process the logs, just wondering if there is another way... – Kris Nov 14 '16 at 12:22
  • @Kris those logs contain output of my programs which I need to verify against test cases and send back the response in an email to me – rank Nov 15 '16 at 20:23

1 Answers1

1

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.

Community
  • 1
  • 1
ocean
  • 1,335
  • 15
  • 26