X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=inline;f=.travis.yml;h=9df9c0542472b5f4a3af067a63b7f4369a3ab844;hb=HEAD;hp=ec324abe71d50c49dcb1f1b0d40aba2fd2949105;hpb=0194dd3e2c867067939b1ec42f7c653154c9029d;p=supertux.git diff --git a/.travis.yml b/.travis.yml index ec324abe7..9df9c0542 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,7 +24,7 @@ env: # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created # via the "travis encrypt" command using the project repo's public key - secure: "E3/UuL338/FVeKbWVBH8RWznD3ntT8BZxX9TDTCwoZFTPluI53Bk0G3MdDBFihFYLeTMfNxxrT2n+EnQtf9a6SrUIo1xFYWV3yKNHwFiS0LKn0IvhofPoRsg+Y190Hgq8djFSEU1Gk4pYATSfRYnAAbVxuL51CumGVBgBkplB0A=" - - CMAKE_VERSION=3.1.3 SDL2_VERSION=2.0.3 SDL2IMAGE_VERSION=2.0.0 + - CMAKE_VERSION=3.2.1 SDL2_VERSION=2.0.3 SDL2IMAGE_VERSION=2.0.0 matrix: - BUILD_TYPE="Debug" - BUILD_TYPE="Release" @@ -36,18 +36,18 @@ before_install: # Current gcc that supports C++ 11 features - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y - sudo apt-get update -qq - - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi - - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi + - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.9; fi + - if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi # CMake - - wget http://www.cmake.org/files/v3.1/cmake-$CMAKE_VERSION.tar.gz -O - | tar xz - - (cd cmake-$CMAKE_VERSION && cmake . && make -j5 && sudo make install) + - wget http://www.cmake.org/files/v3.2/cmake-$CMAKE_VERSION.tar.gz -O - | tar xz + - (cd cmake-$CMAKE_VERSION && cmake . && make -j3 && sudo make install) # SDL dependencies - wget http://libsdl.org/release/SDL2-$SDL2_VERSION.tar.gz -O - | tar xz - - (cd SDL2-$SDL2_VERSION && ./configure --prefix=/usr && make -j5 && sudo make install) + - (cd SDL2-$SDL2_VERSION && ./configure --prefix=/usr && make -j3 && sudo make install) - wget http://www.libsdl.org/projects/SDL_image/release/SDL2_image-$SDL2IMAGE_VERSION.tar.gz -O - | tar xz - - (cd SDL2_image-$SDL2IMAGE_VERSION && ./configure --prefix=/usr && make -j5 && sudo make install) + - (cd SDL2_image-$SDL2IMAGE_VERSION && ./configure --prefix=/usr && make -j3 && sudo make install) script: # Clean from previous Travis build @@ -56,7 +56,7 @@ script: - mkdir "build-$BUILD_TYPE" - cd "build-$BUILD_TYPE" - cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE - - make VERBOSE=1 -j $(nproc) + - make VERBOSE=1 -j3 addons: coverity_scan: @@ -65,7 +65,7 @@ addons: description: "Build submitted via Travis CI" notification_email: supertux-commit@lists.lethargik.org build_command_prepend: "cmake . && make clean" - build_command: "make -j 4" + build_command: "make -j 3" branch_pattern: coverity_scan notifications: