Reputation: 5367
Is it possible to make Travis-CI build only once a merge has been done on Master? So not the PR itself, but only after it's merged?
As described in the documentation, I've tried
branches:
only: ["master"]
However, once this was filed in as a PR, Travis still built it.
Is there another method possible to prevent all other branches from building?
Upvotes: 1
Views: 427
Reputation: 14776
In addition to your branches only master
setting, I believe you should disable the "Build pushed pull requests" switch in the Build Settings menu.
Upvotes: 2