ci: travis: enable a meson/ninja build on osx
authorStefan Schmidt <s.schmidt@samsung.com>
Mon, 28 Jan 2019 17:00:24 +0000 (12:00 -0500)
committerTaehyub Kim <taehyub.kim@samsung.com>
Thu, 31 Jan 2019 02:11:41 +0000 (11:11 +0900)
Summary:
This cuts down the time the osx builld takes from ~30min to ~20min
Keeping the autotools osx build in the cron job for now.

Reviewers: bu5hm4n, zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

.travis.yml

index d5d8b06..ea684fd 100644 (file)
@@ -7,10 +7,6 @@ cache:
 sudo: required
 dist: trusty
 
-os:
-  - linux
-  - osx
-
 env:
   global:
     - MAKEFLAGS="-j5 -rR"
@@ -20,6 +16,9 @@ env:
 
 jobs:
   include:
+    - os: osx
+      env:
+        - BUILDSYSTEM=ninja
     - env:
       - os: linux
       - DISTRO=Fedora28-mingw
@@ -60,6 +59,8 @@ jobs:
       - DISTRO=Fedora29
       - CI_BUILD_TYPE=default
       - BUILDSYSTEM=ninja
+    - os: osx
+      if: type = cron
     - if: type = cron
       env:
         - os: linux
@@ -89,8 +90,6 @@ jobs:
         - os: linux
         - DISTRO=Debian96
         - BUILDSYSTEM=ninja
-  exclude:
-    - os: linux
 
 services:
   - docker