Add optional lpSecurityAttributes parameter to CreateDirectory call to make compilati...
[supertux.git] / .travis.yml
index 2dbfc77..db91f32 100644 (file)
@@ -16,8 +16,11 @@ compiler:
  - gcc
  - clang
 
+matrix:
+ fast_finish: true
+
 env:
- - CMAKE_VERSION=3.0.2 SDL2_VERSION=2.0.3 SDL2IMAGE_VERSION=2.0.0
+ - CMAKE_VERSION=3.1.2 SDL2_VERSION=2.0.3 SDL2IMAGE_VERSION=2.0.0
  
 before_install:
  - sudo apt-get update -qq
@@ -30,7 +33,7 @@ before_install:
  - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
 
  # CMake
- - wget http://www.cmake.org/files/v3.0/cmake-$CMAKE_VERSION.tar.gz -O - | tar xz
+ - 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)
 
  # SDL dependencies
@@ -43,14 +46,14 @@ script:
  # First a debug build:
 - mkdir build-debug
 - cd build-debug
-- cmake .. -DCMAKE_BUILD_TYPE=Debug -DCHECK_ASSETS=off
-- make VERBOSE=1 -j5
+- cmake .. -DCMAKE_BUILD_TYPE=Debug
+- make VERBOSE=1 -j $(nproc)
 # Then a release build:
 - cd ..
 - mkdir build-release
 - cd build-release
-- cmake .. -DCMAKE_BUILD_TYPE=Release -DCHECK_ASSETS=off
-- make VERBOSE=1 -j5
+- cmake .. -DCMAKE_BUILD_TYPE=Release
+- make VERBOSE=1 -j $(nproc)
 
 notifications:
   email: