[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 01/11] travis: build using all available cpus
From: |
Philippe Mathieu-Daudé |
Subject: |
[Qemu-devel] [PATCH 01/11] travis: build using all available cpus |
Date: |
Fri, 16 Jun 2017 13:13:24 -0300 |
no improvement as of today, but if Travis release their limit on the opensource
plan or upgrade their hardware the builds will get some benefit.
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
.travis.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index 27a2d9cfb3..d21a2a3602 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -45,6 +45,7 @@ notifications:
on_failure: always
env:
global:
+ - PARALLEL_JOBS="$(($(getconf _NPROCESSORS_ONLN) + 1))"
- TEST_CMD="make check"
matrix:
- CONFIG=""
@@ -64,7 +65,7 @@ before_install:
before_script:
- ./configure ${CONFIG}
script:
- - make -j3 && ${TEST_CMD}
+ - make -j${PARALLEL_JOBS} && ${TEST_CMD}
matrix:
include:
# Test with CLang for compile portability
--
2.11.0