diff mbox

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

Message ID 1411553636-24717-3-git-send-email-alex.bennee@linaro.org
State Superseded
Headers show

Commit Message

Alex Bennée Sept. 24, 2014, 10:13 a.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>

Comments

Brian Jackson Sept. 24, 2014, 3:10 p.m. UTC | #1
On Wednesday, September 24, 2014 11:13:54 AM Alex Bennée wrote:
> 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>

> 
> diff --git a/.travis.yml b/.travis.yml
> index 72cfc9f..f113339 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:
diff mbox

Patch

diff --git a/.travis.yml b/.travis.yml
index 72cfc9f..f113339 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: