From 757dd02c4e8317372b24ed89eec6c4092fb85f9f Mon Sep 17 00:00:00 2001 From: Richard Brooksby Date: Tue, 19 Apr 2016 16:12:43 +0100 Subject: [PATCH] Trying gcc 4.8 on travis to avoid bogus strict aliasing warnings. Copied from Perforce Change: 191246 ServerID: perforce.ravenbrook.com --- mps/.travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mps/.travis.yml b/mps/.travis.yml index 039164a0684..69a1b840135 100644 --- a/mps/.travis.yml +++ b/mps/.travis.yml @@ -17,7 +17,7 @@ notifications: - mps-travis@ravenbrook.com irc: "irc.freenode.net#memorypoolsystem" before_install: - - test "$TRAVIS_OS_NAME" = "linux" && sudo apt-get -qq update - - test "$TRAVIS_OS_NAME" = "linux" && sudo apt-get install -y gcc-4.7 + - if test "$TRAVIS_OS_NAME" = "linux"; then sudo apt-get -qq update; fi + - if test "$TRAVIS_OS_NAME" = "linux"; then sudo apt-get install -y gcc-4.8; fi script: - ./configure --prefix=$PWD/prefix && make install && make test