[U-Boot] [PATCH] .travis.yml: explicitly request sudo

Stephen Warren swarren at wwwdotorg.org
Wed Feb 3 18:41:34 CET 2016


From: Stephen Warren <swarren at nvidia.com>

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 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>
Signed-off-by: Stephen Warren <swarren at nvidia.com>
---
 .travis.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 67674e2f5878..8caaeb34553e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,6 +3,8 @@
 
 # build U-Boot on Travis CI - https://travis-ci.org/
 
+sudo: true
+
 language: c
 
 addons:
-- 
2.7.0



More information about the U-Boot mailing list