X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=.travis.yml;h=9df9c0542472b5f4a3af067a63b7f4369a3ab844;hb=b2558a894937ac500f1b4e83c6c22f3e72be1456;hp=a8f4960c36be6ed274fb2a3ed2888afbcddf63b6;hpb=1240eda3ac57e6607b206e3c9cf7feb65c3be620;p=supertux.git diff --git a/.travis.yml b/.travis.yml index a8f4960c3..9df9c0542 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,14 +40,14 @@ before_install: - 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: