diff mbox

[v4,5/6] .travis.yml: reduce the test matrix a little

Message ID 1454434448-1535-6-git-send-email-alex.bennee@linaro.org (mailing list archive)
State New, archived
Headers show

Commit Message

Alex Bennée Feb. 2, 2016, 5:34 p.m. UTC
As we are now running "make check" on more of the matrix it is worth
making more of an effort to reduce the overall load on Travis. I've done
a few things:

  - Combining a number of the targets
  - Building one target for each ancillary build

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 .travis.yml | 42 +++++++++++++++++-------------------------
 1 file changed, 17 insertions(+), 25 deletions(-)

Comments

David Gibson Feb. 3, 2016, 6 a.m. UTC | #1
On Tue, Feb 02, 2016 at 05:34:07PM +0000, Alex Bennée wrote:
> As we are now running "make check" on more of the matrix it is worth
> making more of an effort to reduce the overall load on Travis. I've done
> a few things:
> 
>   - Combining a number of the targets
>   - Building one target for each ancillary build
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Tested-by: David Gibson <david@gibson.dropbear.id.au>

I'm still in favour of collapsing the matrix even more, but I
certainly won't object to this partial step for the time being.

> ---
>  .travis.yml | 42 +++++++++++++++++-------------------------
>  1 file changed, 17 insertions(+), 25 deletions(-)
> 
> diff --git a/.travis.yml b/.travis.yml
> index 4f09909..3b8046b 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -45,20 +45,12 @@ env:
>      - EXTRA_CONFIG=""
>    matrix:
>      # Group major targets together with their linux-user counterparts
> -    - TARGETS=alpha-softmmu,alpha-linux-user
> +    - TARGETS=alpha-softmmu,alpha-linux-user,cris-softmmu,cris-linux-user,m68k-softmmu,m68k-linux-user,microblaze-softmmu,microblazeel-softmmu,microblaze-linux-user,microblazeel-linux-user
>      - TARGETS=arm-softmmu,arm-linux-user,armeb-linux-user,aarch64-softmmu,aarch64-linux-user
> -    - TARGETS=cris-softmmu,cris-linux-user
>      - TARGETS=i386-softmmu,i386-linux-user,x86_64-softmmu,x86_64-linux-user
> -    - TARGETS=m68k-softmmu,m68k-linux-user
> -    - TARGETS=microblaze-softmmu,microblazeel-softmmu,microblaze-linux-user,microblazeel-linux-user
> -    - TARGETS=mips-softmmu,mips64-softmmu,mips64el-softmmu,mipsel-softmmu
> -    - TARGETS=mips-linux-user,mips64-linux-user,mips64el-linux-user,mipsel-linux-user,mipsn32-linux-user,mipsn32el-linux-user
> -    - TARGETS=or32-softmmu,or32-linux-user
> -    - TARGETS=ppc-softmmu,ppc64-softmmu,ppcemb-softmmu,ppc-linux-user,ppc64-linux-user,ppc64abi32-linux-user,ppc64le-linux-user
> -    - TARGETS=s390x-softmmu,s390x-linux-user
> -    - TARGETS=sh4-softmmu,sh4eb-softmmu,sh4-linux-user sh4eb-linux-user
> -    - TARGETS=sparc-softmmu,sparc64-softmmu,sparc-linux-user,sparc32plus-linux-user,sparc64-linux-user
> -    - TARGETS=unicore32-softmmu,unicore32-linux-user
> +    - TARGETS=mips-softmmu,mips64-softmmu,mips64el-softmmu,mipsel-softmmu,mips-linux-user,mips64-linux-user,mips64el-linux-user,mipsel-linux-user,mipsn32-linux-user,mipsn32el-linux-user
> +    - TARGETS=or32-softmmu,or32-linux-user,ppc-softmmu,ppc64-softmmu,ppcemb-softmmu,ppc-linux-user,ppc64-linux-user,ppc64abi32-linux-user,ppc64le-linux-user
> +    - TARGETS=s390x-softmmu,s390x-linux-user,sh4-softmmu,sh4eb-softmmu,sh4-linux-user,sh4eb-linux-user,sparc-softmmu,sparc64-softmmu,sparc-linux-user,sparc32plus-linux-user,sparc64-linux-user,unicore32-softmmu,unicore32-linux-user
>      # Group remaining softmmu only targets into one build
>      - TARGETS=lm32-softmmu,moxie-softmmu,tricore-softmmu,xtensa-softmmu,xtensaeb-softmmu
>  git:
> @@ -75,56 +67,56 @@ matrix:
>    # We manually include a number of additional build for non-standard bits
>    include:
>      # Debug related options
> -    - env: TARGETS=i386-softmmu,x86_64-softmmu
> +    - env: TARGETS=x86_64-softmmu
>             EXTRA_CONFIG="--enable-debug"
>        compiler: gcc
>      # We currently disable "make check"
> -    - env: TARGETS=i386-softmmu,x86_64-softmmu
> +    - env: TARGETS=alpha-softmmu
>             EXTRA_CONFIG="--enable-debug --enable-tcg-interpreter"
>             TEST_CMD=""
>        compiler: gcc
>      # Disable a few of the optional features
> -    - env: TARGETS=i386-softmmu,x86_64-softmmu
> +    - env: TARGETS=x86_64-softmmu
>             EXTRA_CONFIG="--disable-linux-aio --disable-cap-ng --disable-attr --disable-brlapi --disable-uuid --disable-libusb"
>        compiler: gcc
>      # Currently configure doesn't force --disable-pie
> -    - env: TARGETS=i386-softmmu,x86_64-softmmu
> +    - env: TARGETS=x86_64-softmmu
>             EXTRA_CONFIG="--enable-gprof --enable-gcov --disable-pie"
>        compiler: gcc
>      # Sparse
> -    - env: TARGETS=i386-softmmu,x86_64-softmmu
> +    - env: TARGETS=x86_64-softmmu
>             EXTRA_CONFIG="--enable-sparse"
>        compiler: gcc
>      # Modules
> -    - env: TARGETS=i386-softmmu,x86_64-softmmu
> +    - env: TARGETS=arm-softmmu,x86_64-softmmu
>             EXTRA_CONFIG="--enable-modules"
>        compiler: gcc
>      # All the trace backends (apart from dtrace)
> -    - env: TARGETS=i386-softmmu,x86_64-softmmu
> +    - env: TARGETS=x86_64-softmmu
>             EXTRA_CONFIG="--enable-trace-backends=stderr"
>        compiler: gcc
> -    - env: TARGETS=i386-softmmu,x86_64-softmmu
> +    - env: TARGETS=x86_64-softmmu
>             EXTRA_CONFIG="--enable-trace-backends=simple"
>        compiler: gcc
>      # We currently disable "make check"
> -    - env: TARGETS=i386-softmmu,x86_64-softmmu
> +    - env: TARGETS=x86_64-softmmu
>             EXTRA_CONFIG="--enable-trace-backends=ftrace"
>             TEST_CMD=""
>        compiler: gcc
>      # We currently disable "make check"
> -    - env: TARGETS=i386-softmmu,x86_64-softmmu
> +    - env: TARGETS=x86_64-softmmu
>             EXTRA_CONFIG="--enable-trace-backends=ust"
>             TEST_CMD=""
>        compiler: gcc
>      # All the co-routine backends (apart from windows)
>      # We currently disable "make check"
> -    - env: TARGETS=i386-softmmu,x86_64-softmmu
> +    - env: TARGETS=x86_64-softmmu
>             EXTRA_CONFIG="--with-coroutine=gthread"
>             TEST_CMD=""
>        compiler: gcc
> -    - env: TARGETS=i386-softmmu,x86_64-softmmu
> +    - env: TARGETS=x86_64-softmmu
>             EXTRA_CONFIG="--with-coroutine=ucontext"
>        compiler: gcc
> -    - env: TARGETS=i386-softmmu,x86_64-softmmu
> +    - env: TARGETS=x86_64-softmmu
>             EXTRA_CONFIG="--with-coroutine=sigaltstack"
>        compiler: gcc
diff mbox

Patch

diff --git a/.travis.yml b/.travis.yml
index 4f09909..3b8046b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -45,20 +45,12 @@  env:
     - EXTRA_CONFIG=""
   matrix:
     # Group major targets together with their linux-user counterparts
-    - TARGETS=alpha-softmmu,alpha-linux-user
+    - TARGETS=alpha-softmmu,alpha-linux-user,cris-softmmu,cris-linux-user,m68k-softmmu,m68k-linux-user,microblaze-softmmu,microblazeel-softmmu,microblaze-linux-user,microblazeel-linux-user
     - TARGETS=arm-softmmu,arm-linux-user,armeb-linux-user,aarch64-softmmu,aarch64-linux-user
-    - TARGETS=cris-softmmu,cris-linux-user
     - TARGETS=i386-softmmu,i386-linux-user,x86_64-softmmu,x86_64-linux-user
-    - TARGETS=m68k-softmmu,m68k-linux-user
-    - TARGETS=microblaze-softmmu,microblazeel-softmmu,microblaze-linux-user,microblazeel-linux-user
-    - TARGETS=mips-softmmu,mips64-softmmu,mips64el-softmmu,mipsel-softmmu
-    - TARGETS=mips-linux-user,mips64-linux-user,mips64el-linux-user,mipsel-linux-user,mipsn32-linux-user,mipsn32el-linux-user
-    - TARGETS=or32-softmmu,or32-linux-user
-    - TARGETS=ppc-softmmu,ppc64-softmmu,ppcemb-softmmu,ppc-linux-user,ppc64-linux-user,ppc64abi32-linux-user,ppc64le-linux-user
-    - TARGETS=s390x-softmmu,s390x-linux-user
-    - TARGETS=sh4-softmmu,sh4eb-softmmu,sh4-linux-user sh4eb-linux-user
-    - TARGETS=sparc-softmmu,sparc64-softmmu,sparc-linux-user,sparc32plus-linux-user,sparc64-linux-user
-    - TARGETS=unicore32-softmmu,unicore32-linux-user
+    - TARGETS=mips-softmmu,mips64-softmmu,mips64el-softmmu,mipsel-softmmu,mips-linux-user,mips64-linux-user,mips64el-linux-user,mipsel-linux-user,mipsn32-linux-user,mipsn32el-linux-user
+    - TARGETS=or32-softmmu,or32-linux-user,ppc-softmmu,ppc64-softmmu,ppcemb-softmmu,ppc-linux-user,ppc64-linux-user,ppc64abi32-linux-user,ppc64le-linux-user
+    - TARGETS=s390x-softmmu,s390x-linux-user,sh4-softmmu,sh4eb-softmmu,sh4-linux-user,sh4eb-linux-user,sparc-softmmu,sparc64-softmmu,sparc-linux-user,sparc32plus-linux-user,sparc64-linux-user,unicore32-softmmu,unicore32-linux-user
     # Group remaining softmmu only targets into one build
     - TARGETS=lm32-softmmu,moxie-softmmu,tricore-softmmu,xtensa-softmmu,xtensaeb-softmmu
 git:
@@ -75,56 +67,56 @@  matrix:
   # We manually include a number of additional build for non-standard bits
   include:
     # Debug related options
-    - env: TARGETS=i386-softmmu,x86_64-softmmu
+    - env: TARGETS=x86_64-softmmu
            EXTRA_CONFIG="--enable-debug"
       compiler: gcc
     # We currently disable "make check"
-    - env: TARGETS=i386-softmmu,x86_64-softmmu
+    - env: TARGETS=alpha-softmmu
            EXTRA_CONFIG="--enable-debug --enable-tcg-interpreter"
            TEST_CMD=""
       compiler: gcc
     # Disable a few of the optional features
-    - env: TARGETS=i386-softmmu,x86_64-softmmu
+    - env: TARGETS=x86_64-softmmu
            EXTRA_CONFIG="--disable-linux-aio --disable-cap-ng --disable-attr --disable-brlapi --disable-uuid --disable-libusb"
       compiler: gcc
     # Currently configure doesn't force --disable-pie
-    - env: TARGETS=i386-softmmu,x86_64-softmmu
+    - env: TARGETS=x86_64-softmmu
            EXTRA_CONFIG="--enable-gprof --enable-gcov --disable-pie"
       compiler: gcc
     # Sparse
-    - env: TARGETS=i386-softmmu,x86_64-softmmu
+    - env: TARGETS=x86_64-softmmu
            EXTRA_CONFIG="--enable-sparse"
       compiler: gcc
     # Modules
-    - env: TARGETS=i386-softmmu,x86_64-softmmu
+    - env: TARGETS=arm-softmmu,x86_64-softmmu
            EXTRA_CONFIG="--enable-modules"
       compiler: gcc
     # All the trace backends (apart from dtrace)
-    - env: TARGETS=i386-softmmu,x86_64-softmmu
+    - env: TARGETS=x86_64-softmmu
            EXTRA_CONFIG="--enable-trace-backends=stderr"
       compiler: gcc
-    - env: TARGETS=i386-softmmu,x86_64-softmmu
+    - env: TARGETS=x86_64-softmmu
            EXTRA_CONFIG="--enable-trace-backends=simple"
       compiler: gcc
     # We currently disable "make check"
-    - env: TARGETS=i386-softmmu,x86_64-softmmu
+    - env: TARGETS=x86_64-softmmu
            EXTRA_CONFIG="--enable-trace-backends=ftrace"
            TEST_CMD=""
       compiler: gcc
     # We currently disable "make check"
-    - env: TARGETS=i386-softmmu,x86_64-softmmu
+    - env: TARGETS=x86_64-softmmu
            EXTRA_CONFIG="--enable-trace-backends=ust"
            TEST_CMD=""
       compiler: gcc
     # All the co-routine backends (apart from windows)
     # We currently disable "make check"
-    - env: TARGETS=i386-softmmu,x86_64-softmmu
+    - env: TARGETS=x86_64-softmmu
            EXTRA_CONFIG="--with-coroutine=gthread"
            TEST_CMD=""
       compiler: gcc
-    - env: TARGETS=i386-softmmu,x86_64-softmmu
+    - env: TARGETS=x86_64-softmmu
            EXTRA_CONFIG="--with-coroutine=ucontext"
       compiler: gcc
-    - env: TARGETS=i386-softmmu,x86_64-softmmu
+    - env: TARGETS=x86_64-softmmu
            EXTRA_CONFIG="--with-coroutine=sigaltstack"
       compiler: gcc