From e3af4b4570c21a0e3005a7616b5e6a4b0959cdf1 Mon Sep 17 00:00:00 2001 From: Liam Staskawicz Date: Tue, 4 Aug 2015 11:11:54 -0700 Subject: [PATCH] travis: remove sudo requirement in order to be able to build on faster container system --- .travis.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0558fc0..e6daf35 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,5 @@ language: cpp -sudo: required -# not totally clear why this is required, but travis support recommended it -# to allow gcc-4.8 to be installed as the system gcc -services: -- docker - # need at least gcc 4.8 for -std=c++11 addons: apt: @@ -14,7 +8,11 @@ addons: packages: - gcc-4.8 - g++-4.8 - + +# use gcc-4.8 +install: +- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi + script: make compiler: