From 2e1629db9bdf6a17c69a96a8bcb972214960189b Mon Sep 17 00:00:00 2001 From: Thomas Fussell Date: Sat, 21 Nov 2015 12:11:59 -0500 Subject: [PATCH] fix travis --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7203f46f..8070da4c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ language: cpp -sudo: false +sudo: true matrix: include: @@ -39,9 +39,9 @@ script: - ../bin/xlnt.test after_success: - - if [ "$COMPILER" = "g++-4.9" ]; then update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 90 ; fi - - if [ "$COMPILER" = "g++-4.9" ]; then update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 90 ; fi - - if [ "$COMPILER" = "g++-4.9" ]; then update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-4.9 90 ; fi + - if [ "$COMPILER" = "g++-4.9" ]; then sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 90 ; fi + - if [ "$COMPILER" = "g++-4.9" ]; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 90 ; fi + - if [ "$COMPILER" = "g++-4.9" ]; then sudo update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-4.9 90 ; fi - if [ "$COMPILER" = "g++-4.9" ]; then rm -rf ./* ; fi - if [ "$COMPILER" = "g++-4.9" ]; then cmake -G "Unix Makefiles" -D DEBUG=1 -D COVERAGE=1 -D SHARED=0 -D STATIC=1 -D BUILD_TESTS=1 ../cmake ; fi - if [ "$COMPILER" = "g++-4.9" ]; then make VERBOSE=1 ; fi