diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-12-13 22:33:16 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-12-13 22:33:16 +0100 |
commit | aef36a5c19e4485cb42c261fc9475ac53cb91722 (patch) | |
tree | 2c9a64eacac6bbc877972a2b13c29559e82345fa /.travis.yml | |
parent | Double equals (diff) | |
download | cuberite-aef36a5c19e4485cb42c261fc9475ac53cb91722.tar cuberite-aef36a5c19e4485cb42c261fc9475ac53cb91722.tar.gz cuberite-aef36a5c19e4485cb42c261fc9475ac53cb91722.tar.bz2 cuberite-aef36a5c19e4485cb42c261fc9475ac53cb91722.tar.lz cuberite-aef36a5c19e4485cb42c261fc9475ac53cb91722.tar.xz cuberite-aef36a5c19e4485cb42c261fc9475ac53cb91722.tar.zst cuberite-aef36a5c19e4485cb42c261fc9475ac53cb91722.zip |
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 9 |
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 |