[PATCH] travis: Update to job matrix
    Geoff Levand 
    geoff at infradead.org
       
    Sat Aug 18 03:59:33 AEST 2018
    
    
  
 o Set language to bash (same as generic), so just the
   scrip steps run.
 o Move build-builder to 'before_script'.
 o Switch to a job matrix of 'os' entries with names.
Signed-off-by: Geoff Levand <geoff at infradead.org>
---
Hi Sam,
This updates the travis file to use a job matrix.  The jobs run should
be unchanged, but this gives the jobs a name, which is displayed in the
travis UI.  A job matrix allows for more advanced logic that we can take
advantage of if we start adding more jobs. 
Please consider.
-Geoff
 .travis.yml | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index f458213..cff60dc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,13 +1,17 @@
-language: c
+language: bash
 
 sudo: required
 dist: trusty
 services: docker
-os:
- - linux
- - linux-ppc64le
 
-before_install:
+matrix:
+  include:
+    - os: linux
+      name: "linux"
+    - os: linux-ppc64le
+      name: "linux-ppc64le"
+
+before_script:
  - ./docker/build-builder
 
 script:
-- 
2.14.1
    
    
More information about the Petitboot
mailing list