diff options
-rw-r--r-- | .travis.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index 4627f117c..30926b5bd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,14 +7,14 @@ 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"; fi + - if [ "$CXX" == "g++"]; then export CC="gcc-4.8"; fi # Build MCServer script: ./CIbuild.sh |