Skip to content
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 Auto Cancellation #646

Closed
aneeshusa opened this issue Apr 26, 2017 · 6 comments
Closed

Enable Travis Auto Cancellation #646

aneeshusa opened this issue Apr 26, 2017 · 6 comments

Comments

@aneeshusa
Copy link
Member

@aneeshusa aneeshusa commented Apr 26, 2017

This is a new beta feature: https://blog.travis-ci.com/2017-03-22-introducing-auto-cancellation

When iterating on a branch and force pushing frequently, this will automatically cancel old builds that haven't yet started to avoid running builds which would have stale results.

cc @edunham @larsbergstrom @metajack

@larsbergstrom
Copy link
Contributor

@larsbergstrom larsbergstrom commented Apr 26, 2017

That sounds great! Do you think we should enable it on all of our repos? It looks like it's a per-project setting.

@metajack
Copy link
Contributor

@metajack metajack commented Apr 26, 2017

I think we should enable the PR auto-cancel but not the branch auto-cancel. That way we'll still know which specific commit introduced a failure. I've enabled PR auto-cancel for most of the repos in the servo org. I wish there was a way to control this more easily than clicking into every repo on Travis CI and then hitting settings and flipping the toggle.

@aneeshusa
Copy link
Member Author

@aneeshusa aneeshusa commented Apr 26, 2017

@metajack In their beta issue tracker, the Travis CI folks mention this can be modified via the API. I think it might be nice to make a script for this (similar to the ones in #457).

@aneeshusa
Copy link
Member Author

@aneeshusa aneeshusa commented Apr 26, 2017

In the meantime, it might be nice to add this to the checklist for adding new repos on the wiki.

@metajack
Copy link
Contributor

@metajack metajack commented Apr 27, 2017

Made the wiki changes.

@aneeshusa
Copy link
Member Author

@aneeshusa aneeshusa commented Apr 27, 2017

This is enabled and documented, so I don't see any other action items for this right now. Closing.

@aneeshusa aneeshusa closed this Apr 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.