From: Max Teufel Date: Wed, 1 Oct 2014 18:59:18 +0000 (+0200) Subject: .travis.yml: add fast_finish to matrix, use -j $(nproc) for make X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=6301e5e36623bbc625e5172f812eeae8a935d2a8;p=supertux.git .travis.yml: add fast_finish to matrix, use -j $(nproc) for make Closes #5 --- diff --git a/.travis.yml b/.travis.yml index 2dbfc771c..296c03efb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,9 @@ compiler: - gcc - clang +matrix: + fast_finish: true + env: - CMAKE_VERSION=3.0.2 SDL2_VERSION=2.0.3 SDL2IMAGE_VERSION=2.0.0 @@ -44,13 +47,13 @@ script: - mkdir build-debug - cd build-debug - cmake .. -DCMAKE_BUILD_TYPE=Debug -DCHECK_ASSETS=off -- make VERBOSE=1 -j5 +- 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 +- make VERBOSE=1 -j $(nproc) notifications: email: