Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
make travis use git-checkout-modules for branch names ending with /sync, <3 @slipher #1140
This is the result of a talk I had with @slipher on IRC yesterday, he was expressing the need for CI tools like travis to be able to checkout a work-in-progress branch across submodules without having to commit temporary references. This is thought to avoid the risk to merge dead references while merging the PR, it would also make testing such branch possible.
I wrote a git helper named
This PR attempts to configure Travis CI to leverage it.
To use this feature, people would have to name his branch with a
For example, if I work on a branch to add emoji support to the game and this branch spans across the engine, the game code, and the assets, I would push branches named
So, Travis tests the merge, that makes sense, but that's not cool for us as the merged commit does not have a known branch.