From: Florian Forster Date: Tue, 9 Oct 2018 13:53:00 +0000 (+0200) Subject: .travis.yml: Determine number of CPUs at runtime. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=e2cd55cda5039dc629fb617f6a3a2ed046f8110a;p=collectd.git .travis.yml: Determine number of CPUs at runtime. --- diff --git a/.travis.yml b/.travis.yml index 1bd6142d..97115d14 100644 --- a/.travis.yml +++ b/.travis.yml @@ -75,7 +75,7 @@ before_script: autoreconf -fi script: - if [[ "${TRAVIS_BRANCH}" == "coverity_scan" ]]; then exit 0; fi - ./configure - - make -j 4 + - make -j $(nproc) - make check addons: @@ -85,5 +85,5 @@ addons: description: "Build submitted via Travis CI" notification_email: collectd-changes@verplant.org build_command_prepend: "./configure; make clean" - build_command: "make -j 4" + build_command: "make -j $(nproc)" branch_pattern: coverity_scan