]> git.proxmox.com Git - mirror_qemu.git/commitdiff
travis: move make -j flag out of script
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 18 Jul 2017 00:31:30 +0000 (21:31 -0300)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 18 Jul 2017 08:39:19 +0000 (09:39 +0100)
Because global environment variables can be overridden when .travis.yml
is processed by the docker-travis target, the effect of this patch is
that docker-travis now obeys the "J=n" option.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
.travis.yml

index 3c7a5cbe2551a6bb393951b3f2e239b7da9f02e2..f58383975527869ef573583117bef04abbf84d5d 100644 (file)
@@ -46,6 +46,7 @@ notifications:
 env:
   global:
     - TEST_CMD="make check"
+    - MAKEFLAGS="-j3"
   matrix:
     - CONFIG=""
     - CONFIG="--enable-debug --enable-debug-tcg --enable-trace-backends=log"
@@ -64,7 +65,7 @@ before_install:
 before_script:
   - ./configure ${CONFIG}
 script:
-  - make -j3 && ${TEST_CMD}
+  - make ${MAKEFLAGS} && ${TEST_CMD}
 matrix:
   include:
     # Test with CLang for compile portability