From 8e31239ab7f2115fd7202255132ced3f4ec18469 Mon Sep 17 00:00:00 2001 From: Andy Keep Date: Sat, 11 Mar 2017 23:54:36 -0500 Subject: [PATCH] Fixing the apt-get sudo requirement for the Linux x86 builds. original commit: ff0bd879b353ad688dca7d3d284a62227ac285f0 --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index cba0b7c23d..811d8115d3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ language: c +sudo: required matrix: include: - os: osx @@ -18,7 +19,7 @@ matrix: - os: linux env: TARGET_MACHINE=ta6le install: - - if [[ "$TARGET_MACHINE" == "i3le" || "$TARGET_MACHINE" == "ti3le" ]] ; then apt-get update -y ; fi - - if [[ "$TARGET_MACHINE" == "i3le" || "$TARGET_MACHINE" == "ti3le" ]] ; then apt-get install -y libc6-dev-x32 libc6-x32 lib32ncurses5 lib32ncurses5-dev ; fi + - if [[ "$TARGET_MACHINE" == "i3le" || "$TARGET_MACHINE" == "ti3le" ]] ; then sudo apt-get update -y ; fi + - if [[ "$TARGET_MACHINE" == "i3le" || "$TARGET_MACHINE" == "ti3le" ]] ; then sudo apt-get install -y libc6-dev-x32 libc6-x32 lib32ncurses5 lib32ncurses5-dev ; fi script: - ./configure -m=$TARGET_MACHINE && make && make test 2>&1 | tee Make.out | grep '^matting '