1
0
Fork 0

"Don't set compiler to gcc on clang builds"

This commit is contained in:
Tycho 2014-12-13 20:58:28 +00:00
parent 58668351ae
commit 3d9c88affa
1 changed files with 5 additions and 4 deletions

View File

@ -7,13 +7,14 @@ before_install:
- if [ "$TRAVIS_MCSERVER_BUILD_TYPE" == "COVERAGE" ]; then sudo pip install cpp_coveralls; fi
# g++4.8
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- if [ "$CXX" = "g++"]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
- if [ "$CXX" = "g++"]; sudo apt-get update -qq; fi
install:
# g++4.8
- sudo apt-get install -qq g++-4.8
- export CXX="g++-4.8"
- if [ "$CXX" = "g++"]; sudo apt-get install -qq g++-4.8; fi
- if [ "$CXX" = "g++"]; export CXX="g++-4.8"; fi
- if [ "$CXX" = "g++"]; export CC="gcc-4.8"; fi
# Build MCServer
script: ./CIbuild.sh