[U-Boot] travis-ci: Trigger build with multiple commits in one push
Tom Rini
trini at konsulko.com
Tue Jan 10 00:39:04 CET 2017
On Tue, Jan 10, 2017 at 12:34:47AM +0100, Jagan Teki wrote:
> Hi Tom or Any,
>
> Any idea how to trigger travis-ci with multiple commit (build all of
> them) at same push, say for example when I push 10 commits in one push
> and if the middle commit is an error commit but travis-ci doesn't show
> the build issue. Do I need to do any specific setting on travis-ci
> linked repo for this, or any - any help?
So you want travis-ci to take a range of 10 commits and build the tree
for each of them, yes? The way I would do this is:
$ for REV in `git rev-list origin/master..`;do \
git push github $REV:WIP-$REV;done
And this will make a branch for each commit and travis-ci will (in due
time) build each and every one of them. It will also however take a
long time.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170109/d541fbcd/attachment.sig>
More information about the U-Boot
mailing list