[U-Boot] .travis.yml: rework according to new travis-ci infra

Meier, Roger r.meier at siemens.com
Thu Feb 4 10:30:21 CET 2016


Hi Warren

> -----Original Message-----
> From: Stephen Warren [mailto:swarren at wwwdotorg.org]
> Sent: Mittwoch, 3. Februar 2016 17:58
> To: Roger Meier <roger at bufferoverflow.ch>
> Cc: Tom Rini <trini at konsulko.com>; Tom Rini <trini at ti.com>; u-
> boot at lists.denx.de; Andreas Färber <afaerber at suse.de>; Meier, Roger
> <r.meier at siemens.com>; Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
> Subject: Re: [U-Boot] .travis.yml: rework according to new travis-ci infra
> 
> On 02/01/2016 06:57 PM, Tom Rini wrote:
> > On Mon, Jan 25, 2016 at 08:22:41PM +0100, Roger Meier wrote:
> >
> >> - install using addons.apt
> >> - remove MAKEALL
> >> - split mpc85xx boards
> >> - remove TEST_CONFIG_CMD, just info
> >> - fetch mips toolchain via buildman
> >> - remove --list-error-boards param
> >> - conditional script
> >> - use TOOLCHAIN instead of INSTALL_TOOLCHAIN
> >> - add aarch64
> >> - enable notifications via email
> >>
> >> Signed-off-by: Roger Meier <r.meier at siemens.com>
> >> Cc: Wolfgang Denk <wd at denx.de>
> >> Cc: Heiko Schocher <hs at denx.de>
> >> Cc: Tom Rini <trini at ti.com>
> >> Cc: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
> >> Cc: Andreas Färber <afaerber at suse.de>
> >> Tested-by: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
> >> Acked-by: Heiko Schocher <hs at denx.de>
> >
> > Applied to u-boot/master, thanks!
> 
> I wanted to add something to this file, so I set up my own travis-ci.org
> account and made it run against my own github U-Boot repo "fork" to test
> my change. However, most of the builds failed before I even modified
> .travis.yml. For example:
> 
> > $ if [[ "${TOOLCHAIN}" == *arm* ]]; then sh eldk-eglibc-i686-arm-toolchain-
> gmae-5.4.sh -y ; fi
> > Enter target directory for SDK (default: /opt/eldk-5.4/armv5te): /opt/eldk-
> 5.4/armv5te
> > You are about to install the SDK to "/opt/eldk-5.4/armv5te". Proceed[Y/n]?Y
> > Sorry, you are not allowed to execute as root.

Things like this should work, but there are some limitations.
Ok, you added sudo:true within your branch.

It's unclear to me why it does not work on your build...
Here it works:
https://travis-ci.org/u-boot/u-boot/jobs/106517001
> 
> Do I need to perform some manual configuration of my
> repo/branch/profile/... before this .travis.yml will work correctly
> (container vs VM I wonder?), or perhaps obtain some kind of
> authorization from the Travis CI admins? If so, if that could all be
> documented in a comment at the top of .travis.yml that would be
> extremely helpful. Bonus points if it can be handled simply be adding
> extra configuration options into .travis.yml so that it "just works"
> without manual steps.
No, there is nothing to do beside of setting up the hook.
I'm unsure about replication of documentation within .travis.yml

Regards
Roger



More information about the U-Boot mailing list