summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 3b66e0e5..939cf8c0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -180,7 +180,11 @@ variables:
build_scripts:
- ./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