"Don't set compiler to gcc on clang builds"
This commit is contained in:
parent
58668351ae
commit
3d9c88affa
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user