diff mbox

[v3,2/4] .travis.yml: make the make slightly more parallel

Message ID 1411756299-15428-3-git-send-email-alex.bennee@linaro.org
State New
Headers show

Commit Message

Alex Bennée Sept. 26, 2014, 6:31 p.m. UTC
The Travis VMs have 1.5 cores so we might as well make some use of the
paralellism.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Brian Jackson <iggy@theiggy.com>

---
v3
  - fix escaping of ${TEST_CMD}
diff mbox

Patch

diff --git a/.travis.yml b/.travis.yml
index 72cfc9f..57cb95e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -41,7 +41,10 @@  before_install:
   - git submodule update --init --recursive
   - sudo apt-get update -qq
   - sudo apt-get install -qq ${CORE_PKGS} ${NET_PKGS} ${GUI_PKGS} ${EXTRA_PKGS}
-script: "./configure --target-list=${TARGETS} ${EXTRA_CONFIG} && make && ${TEST_CMD}"
+before_script:
+  - ./configure --target-list=${TARGETS} --enable-debug-tcg ${EXTRA_CONFIG}
+script:
+  - make -j2 && ${TEST_CMD}
 matrix:
   # We manually include a number of additional build for non-standard bits
   include: