Allow matrix builds conditionally

A repost of . It would be great to be able to do something like:

    -- something
    -- something
    -- if branch != master

Specifically, we have a branch upon release that is the built version of our software and we have a test build that runs our building process which fails when trying to run against a built branch.

It would be great to be able to use the conditional within the matrix.


I explain how you might do this within matrix.include using the if condition. Did you miss it, or does it fall short of your expectations?

I missed that, rather was doing it incorrectly (!= instead of !~ for a regex negation).

Thank you!

This can be marked resolved?