To put it in \"BDD\" terms:
Background:
Given I\'m contributing to a GH repoWhen I create a pull request
Then Travis shou
You can use next workflow if you want to test not only master
branch but some others branches too:
Add branches:except
directive to your .travis.yml
:
branches:
except:
- /^pr\..*/
In this configuration:
feature-A
will trigger the buildpr.feature-A
will not trigger the buildpr.feature-A
is used in opened pull request then build will be triggeredwip.feature-A
, any commit to this branch will trigger the buildmaster
you can rename it from wip.feature-A
to pr.feature-A
and open pull requestpr.feature-A
On all the steps above only one build will be triggered.