.travis.yml: explicitly request sudo

Without this, builds default to using new Travis CI infra-structure which
does no allow sudo. The builds need sudo in order to install the ELDK
compilers. Consequently, almost all builds fail without this.

I suspect that existing Travis CI users have not noticed this because
their accounts or builds have been grand-fathered into backwards-
compatible default settings, whereas I just set up a new build from
scratch and received new default settings.

Cc: Wolfgang Denk <wd@denx.de>
Cc: Heiko Schocher <hs@denx.de>
Cc: Tom Rini <trini@ti.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Cc: Andreas Färber <afaerber@suse.de>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Heiko Schocher <hs@denx.de>
This commit is contained in:
Stephen Warren 2016-02-03 10:41:34 -07:00 committed by Tom Rini
parent 859f143715
commit e4c1b4d8c1

View file

@ -3,6 +3,8 @@
# build U-Boot on Travis CI - https://travis-ci.org/
sudo: true
language: c
addons: