ci: travis: shorten job descriptions
authorStefan Schmidt <s.schmidt@samsung.com>
Mon, 28 Jan 2019 17:00:26 +0000 (12:00 -0500)
committerTaehyub Kim <taehyub.kim@samsung.com>
Thu, 31 Jan 2019 02:11:41 +0000 (11:11 +0900)
Summary:
This makes job descriptions shorter and also clearer to see what env
variable belongs to what job and os.

Moving the release ready build to an earlier start position in the cron
job to shorten the total build time.
Depends on D7799

Reviewers: bu5hm4n, zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7800

.travis.yml

index ea684fd..833428a 100644 (file)
@@ -17,79 +17,45 @@ env:
 jobs:
   include:
     - os: osx
-      env:
-        - BUILDSYSTEM=ninja
-    - env:
-      - os: linux
-      - DISTRO=Fedora28-mingw
-      - CI_BUILD_TYPE=mingw
-    - env:
-      - os: linux
-      - DISTRO=Fedora29
-      - CI_BUILD_TYPE=options-enabled
-    - env:
-      - os: linux
-      - DISTRO=Fedora29
-      - CI_BUILD_TYPE=options-disabled
-    - env:
-      - os: linux
-      - DISTRO=Fedora29
-      - CI_BUILD_TYPE=wayland
-    - env:
-      - os: linux
-      - DISTRO=Fedora29
-      - CI_BUILD_TYPE=default
-    - env:
-      - os: linux
-      - DISTRO=Fedora29
-      - CI_BUILD_TYPE=options-enabled
-      - BUILDSYSTEM=ninja
-    - env:
-      - os: linux
-      - DISTRO=Fedora29
-      - CI_BUILD_TYPE=options-disabled
-      - BUILDSYSTEM=ninja
-    - env:
-      - os: linux
-      - DISTRO=Fedora29
-      - CI_BUILD_TYPE=wayland
-      - BUILDSYSTEM=ninja
-    - env:
-      - os: linux
-      - DISTRO=Fedora29
-      - CI_BUILD_TYPE=default
-      - BUILDSYSTEM=ninja
+      env: BUILDSYSTEM=ninja
+    - os: linux
+      env: DISTRO=Fedora28-mingw CI_BUILD_TYPE=mingw
+    - os: linux
+      env: DISTRO=Fedora29 CI_BUILD_TYPE=options-enabled
+    - os: linux
+      env: DISTRO=Fedora29 CI_BUILD_TYPE=options-disabled
+    - os: linux
+      env: DISTRO=Fedora29 CI_BUILD_TYPE=wayland
+    - os: linux
+      env: DISTRO=Fedora29 CI_BUILD_TYPE=default
+    - os: linux
+      env: DISTRO=Fedora29 CI_BUILD_TYPE=options-enabled BUILDSYSTEM=ninja
+    - os: linux
+      env: DISTRO=Fedora29 CI_BUILD_TYPE=options-disabled BUILDSYSTEM=ninja
+    - os: linux
+      env: DISTRO=Fedora29 CI_BUILD_TYPE=wayland BUILDSYSTEM=ninja
+    - os: linux
+      env: DISTRO=Fedora29 CI_BUILD_TYPE=default BUILDSYSTEM=ninja
     - os: osx
       if: type = cron
-    - if: type = cron
-      env:
-        - os: linux
-        - DISTRO=Ubuntu1810
-    - if: type = cron
-      env:
-        - os: linux
-        - DISTRO=Fedora29
-        - CI_BUILD_TYPE=release-ready
-    - if: type = cron
-      env:
-        - os: linux
-        - DISTRO=Debian96
-    - if: type = cron
-      env:
-        - os: linux
-        - DISTRO=Ubuntu1810
-        - BUILDSYSTEM=ninja
-    - if: type = cron
-      env:
-        - os: linux
-        - DISTRO=Fedora29
-        - CI_BUILD_TYPE=release-ready
-        - BUILDSYSTEM=ninja
-    - if: type = cron
-      env:
-        - os: linux
-        - DISTRO=Debian96
-        - BUILDSYSTEM=ninja
+    - os: linux
+      if: type = cron
+      env: DISTRO=Fedora29 CI_BUILD_TYPE=release-ready
+    - os: linux
+      if: type = cron
+      env: DISTRO=Fedora29 CI_BUILD_TYPE=release-ready BUILDSYSTEM=ninja
+    - os: linux
+      if: type = cron
+      env: DISTRO=Ubuntu1810
+    - os: linux
+      if: type = cron
+      env: DISTRO=Debian96
+    - os: linux
+      if: type = cron
+      env: DISTRO=Ubuntu1810 BUILDSYSTEM=ninja
+    - os: linux
+      if: type = cron
+      env: DISTRO=Debian96 BUILDSYSTEM=ninja
 
 services:
   - docker