Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

matrix include conditional on branch? #959

Closed
jpritikin opened this issue Feb 8, 2017 · 1 comment
Closed

matrix include conditional on branch? #959

jpritikin opened this issue Feb 8, 2017 · 1 comment

Comments

@jpritikin
Copy link

I have a matrix include clause to build a binary that is deployed. However, we only want to bother with this step if we're on the master branch. I added a branch condition to the deploy step, but this still wastes precious osx resources building a binary that isn't deployed when the branch is not master. Is there a way to make the matrix include clause dependent on the branch?

@MariadeAnton
Copy link
Contributor

Hi @jpritikin! At the moment, this is not a built-in feature but there might be some workarounds available to help with this, can you write us at support@travis-ci.com to evaluate your use case further? Thank you!

There's a similar feature request at travis-ci/travis-ci#7149 - feel free to add your 👍

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants