summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 5905a1d4..5e32493e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -173,7 +173,11 @@ build_scripts:
- fi
- ./autogen.sh
- scan-build $CHECKERS ./configure
- - scan-build $CHECKERS --keep-cc -o html-report make
+ - if [ $CPU_COUNT -gt 1 ]; then
+ - scan-build $CHECKERS --keep-cc -o html-report make -j $CPU_COUNT
+ - else
+ - scan-build $CHECKERS --keep-cc -o html-report make
+ - fi
after_scripts:
- if [ ${DISTRO_NAME} == "fedora" ];then