-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enable travis for all branches & disable for release tags #11
Comments
It's already the case because Travis is configured to build the PR and the push.
The current config as the advantage of triggering only one build when you open a PR from a branch of the repo. With the one you propose it would trigger a PR build and a push build each time (which is not necessary, use Travis resources and delay the feedback from Travis) |
Thanks for the explanation, that makes perfectly sense 👍 |
actually let’s add this link as comment to the |
Without this, if a PR is opened for a branch, Travis creates two builds; one for the branch and one for the PR itself. When Travis is configured (in the UI) to build both the push and PR (the default), I think a better default for builds is to trigger only _one_ build. Semantic release itself uses this set up, see: semantic-release/commit-analyzer#11
Hey can you enable to run builds for all branches? When having commit access, we usually create branches and create a pull request from these
commit-analyzer/.travis.yml
Lines 5 to 7 in 91c125f
But you can disable builds for the release tags by adding
The text was updated successfully, but these errors were encountered: