How I changed from Travis CI Build Matrix to Build Stages for my side project.

CAULTION: This post was written in April, 2018. Build Stages feature is beta at that time. Things may have changed, but I still want to write it down.

Preface

Official documents about how to migrate from Build Matrix to Build Stages are awful.
It took me lots of time and still don't know how to modify it until I met this: Travis CI stage failed in matrix - Stack Overflow

This beta feature is great, although I had already used CircleCI which already had build stages feature at that time.
Maybe write this down can help you save your time.

TL;DR

In the end, I found that the syntax of Build Stages is similar to Build Matrix. I don't know how to explain it, so I'll just put the diff picture and url below:

Final Result


Share


Donation

如果覺得這篇文章對你有幫助, 除了留言讓我知道外, 或許也可以考慮請我喝杯咖啡, 不論金額多寡我都會非常感激且能鼓勵我繼續寫出對你有幫助的文章。

If this blog post happens to be helpful to you, besides of leaving a reply, you may consider buy me a cup of coffee to support me. It would help me write more articles helpful to you in the future and I would really appreciate it.


Related Posts