diff options
author | Wu Xiaotian <[email protected]> | 2019-03-07 11:08:33 +0800 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-03-08 09:22:11 +0100 |
commit | 80abc61ac4012394652ab08eeee1c3b92d9d3a18 (patch) | |
tree | 28d94b27d27e6a88c2719493301020b9737d09a1 | |
parent | eb9c0abe8f82e46d721ef2f134f1f56bcab98a81 (diff) | |
download | caja-80abc61ac4012394652ab08eeee1c3b92d9d3a18.tar.bz2 caja-80abc61ac4012394652ab08eeee1c3b92d9d3a18.tar.xz |
[ci] If possible, compile with make -jN
-rw-r--r-- | .travis.yml | 6 |
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 |