From aef36a5c19e4485cb42c261fc9475ac53cb91722 Mon Sep 17 00:00:00 2001 From: Tycho Date: Sat, 13 Dec 2014 21:33:16 +0000 Subject: final syntax errors --- .travis.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 30926b5bd..eaf8f116a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,14 +7,13 @@ before_install: - if [ "$TRAVIS_MCSERVER_BUILD_TYPE" == "COVERAGE" ]; then sudo pip install cpp_coveralls; fi # g++4.8 - - if [ "$CXX" == "g++"]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi - - if [ "$CXX" == "g++"]; then sudo apt-get update -qq; fi + - if [ "$CXX" == "g++" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi + - if [ "$CXX" == "g++" ]; then sudo apt-get update -qq; fi install: # g++4.8 - - if [ "$CXX" == "g++"]; then sudo apt-get install -qq g++-4.8; fi - - if [ "$CXX" == "g++"]; then export CXX="g++-4.8"; fi - - if [ "$CXX" == "g++"]; then export CC="gcc-4.8"; fi + - if [ "$CXX" == "g++" ]; then sudo apt-get install -qq g++-4.8; fi + - if [ "$CXX" == "g++" ]; then export CXX="g++-4.8"; export CC="gcc-4.8"; fi # Build MCServer script: ./CIbuild.sh -- cgit v1.2.3