use gcc 4.8 on travis

This is temporary... for some reason gcc 4.6 is segfaulting while
clang and 4.8 compile successfully, so in the meantime use 4.8 on
travis.
This commit is contained in:
Chris Beck 2014-06-15 16:48:05 -04:00
parent 35180b82d1
commit f25496ebc2

View file

@ -14,6 +14,11 @@ matrix:
env: WML_TESTS=true STRICT_COMPILATION=True
- compiler: gcc
env: WML_TESTS=true STRICT_COMPILATION=False
before_install:
- if [ "$CXX" = "g++" ]; then sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y; fi
- if [ "$CXX" = "g++" ]; then sudo apt-get update -qq; fi
- if [ "$CXX" = "g++" ]; then sudo apt-get install g++-4.8; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi
install:
- sudo apt-get update -qq
- sudo apt-get install -qq libboost-iostreams-dev libboost-program-options-dev libboost-regex-dev libboost-system-dev libboost-test-dev libcairo2-dev libfribidi-dev libpango1.0-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev