From: Dale Weiler Date: Thu, 15 Jan 2015 02:54:41 +0000 (-0500) Subject: Make travis update to newer compilers X-Git-Tag: xonotic-v0.8.2~55 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=51a7b8e6a73a2d3847a4b9db0949b2eb2e876f44;p=xonotic%2Fgmqcc.git Make travis update to newer compilers --- diff --git a/.travis.yml b/.travis.yml index 45e9c7e..830f373 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,27 @@ -language: c +language: cpp + compiler: - gcc - clang -# Change this to your needs -script: make && make test + +before_install: + # g++4.8.1 + - if [ "$CXX" == "g++" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi + # clang 3.4 + - if [ "$CXX" == "clang++" ]; then sudo add-apt-repository -y ppa:h-rayflood/llvm; fi + - sudo apt-get update -qq + +install: + # g++4.8.1 + - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi + - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi + # clang 3.4 + - if [ "$CXX" == "clang++" ]; then sudo apt-get install --allow-unauthenticated -qq clang-3.4; fi + - if [ "$CXX" == "clang++" ]; then export CXX="clang++-3.4"; fi + +script: + - make test + notifications: irc: channels: