Pull Request Testing For Everyone
We just started unrolling an updated version and are in the process of turning it on for everybody.
Up until now, Pull Request testing was only available for Open Source projects. We had to make some adjustments to Travis CI and are proud to announce the availability for private projects.
If you want to see our bot leave comments on your Pull Requests, you will have to give travisbot read access to the repository. Otherwise you will have to check the Pull Request tab in the Travis CI interface.
A new way of communicating the outcome is in the makings, stay tuned.
Pull Requests for Branches
We found that especially for private or large projects, Pull Requests often come from a different branch within the same repository. You might be wondering what advantage Pull Request testing actually gives you in this scenario. Branches are already being tested for you, so what's the difference?
Keep in mind that a Pull Request test will actually reflect the status of the merged Pull Request. Imagine working on a feature branch for a while and in the meantime,
master gets updated. A Pull Request test will now reflect the state after you've pressed the Merge Button. This is also why only mergeable Pull Requests will be tested.
Open Source Projects
After getting participants of our Love Campaign on board, we will now start enabling it for the rest of the nearly 18k Open Source projects using Travis CI. Current plans are to enable it in batches, probably on the scale of 500 to 1000 repositories per batch, so we can see how much more load this will cause. The first batch will be enabled tomorrow and we plan to enable one more batch every morning.
New projects will be enabled automatically.
No More Race Condition
Our initial release had a high level race condition. Basically, if your project was too busy, you could see a failing test with an error message like this:
$ git checkout -qf 8ad4fb8f248e00c8e86c fatal: reference is not a tree: 8ad4fb8f248e00c8e86c
That happened mostly if a merge commit changed due to the base branch being updated while some but not all of your build's jobs already ran. We started deploying the fix to our worker machines and within 24 hours the fix should be available on all machines. If you want to know more, we invite you to read the full story.
Thanks for all your support. Without your help we would not have been able to get this feature out of the door for everyone.
The Travis Teamblog comments powered by Disqus