To put it in \"BDD\" terms:
Background:
Given I\'m contributing to a GH repoWhen I create a pull request
Then Travis shou
For one of the repositories, I was working with, here is what I wanted:
There is an origin
repo which is the main repo which does all the releases.
I wanted that all the pull requests coming to master
branch of origin should be built with Travis only once irrespective of the fact that it comes from a forked repo or any other branch of the origin
itself.
For this case, this works like a charm
if: (type == push) OR (type == pull_request AND fork == true)