923a60
From 1d94abd086b04dabf20f547470d19ad12b969a9a Mon Sep 17 00:00:00 2001
923a60
From: Frantisek Sumsal <fsumsal@redhat.com>
923a60
Date: Mon, 4 Mar 2019 10:26:46 +0100
923a60
Subject: [PATCH] travis: support SMP if available
923a60
923a60
---
923a60
 ci/travis-centos-rhel7.sh | 2 +-
923a60
 1 file changed, 1 insertion(+), 1 deletion(-)
923a60
923a60
diff --git a/ci/travis-centos-rhel7.sh b/ci/travis-centos-rhel7.sh
923a60
index 7db3a8db41..bb60012eea 100755
923a60
--- a/ci/travis-centos-rhel7.sh
923a60
+++ b/ci/travis-centos-rhel7.sh
923a60
@@ -51,7 +51,7 @@ for phase in "${PHASES[@]}"; do
923a60
             $DOCKER_EXEC ./configure --disable-timesyncd --disable-kdbus --disable-terminal \
923a60
                                      --enable-gtk-doc --enable-compat-libs --disable-sysusers \
923a60
                                      --disable-ldconfig --enable-lz4 --with-sysvinit-path=/etc/rc.d/init.d
923a60
-            $DOCKER_EXEC make
923a60
+            $DOCKER_EXEC make -j $(nproc)
923a60
             # Run the internal testsuite
923a60
             # Let's install the new systemd and "reboot" the container to avoid
923a60
             # unexpected fails due to incompatibilities with older systemd