[U-Boot] .travis.yml: rework according to new travis-ci infra
Daniel Schwierzeck
daniel.schwierzeck at gmail.com
Thu Feb 4 13:31:46 CET 2016
2016-02-03 17:58 GMT+01:00 Stephen Warren <swarren at wwwdotorg.org>:
> 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.
>
>
> 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.
Have a look at [1]. The standard Ubuntu Precise builders have "sudo:
required" enabled for repositories created before 2015. Newer
repositories obviously need to explicitely add "sudo: required" to the
.travis.yml.
[1] https://docs.travis-ci.com/user/ci-environment/
--
- Daniel
More information about the U-Boot
mailing list