summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.travis.yml9
1 files 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