From 6b2d8f480f9455a2c455a50bd8a735c626b53588 Mon Sep 17 00:00:00 2001 From: Oleg Oshmyan Date: Fri, 13 Nov 2020 19:50:19 +0200 Subject: Travis CI: use make -j2 https://docs.travis-ci.com/user/speeding-up-the-build/#makefile-optimization and https://docs.travis-ci.com/user/reference/overview/#virtualisation-environment-vs-operating-system suggest -j2 should be optimal on all VMs. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3b1e81c..f5ead93 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,7 +32,7 @@ before_script: - ./autogen.sh - ./configure script: - - make -j4 + - make -j2 notifications: email: false @@ -63,5 +63,5 @@ addons: description: "Build submitted via Travis CI" notification_email: none@example.com build_command_prepend: "./configure" - build_command: "make -j4" + build_command: "make -j2" branch_pattern: master|coverity_scan -- cgit v1.2.3