Use gcc 4.8 with Travis

This commit is contained in:
Bradley Bell 2015-03-26 00:11:34 -07:00
parent 98a31588b5
commit 732b06e637

View file

@ -5,7 +5,10 @@ compiler:
- clang
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq
- sudo apt-get install -y libphysfs-dev libsdl1.2-dev libsdl-mixer1.2-dev
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
script: scons