[PATCH 5/8] travis: Don't have a separate script definition for macOS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Make single commands OS-dependent instead.

Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 .travis.yml | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index c2526bc6d..e93fc73b2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -77,8 +77,10 @@ before_script:
   - ./autogen.sh
 script:
   - make -j3
-  - make -j3 syntax-check
-  - make -j3 check
+  # Many unit tests still fail on macOS, and there are a bunch of issues
+  # with syntax-check as well, so skip them for now
+  - if [ "$TRAVIS_OS_NAME" != "osx" ]; then make -j3 syntax-check; fi
+  - if [ "$TRAVIS_OS_NAME" != "osx" ]; then make -j3 check; fi
 
 # Environments here are run in addition to the main environment defined above
 matrix:
@@ -91,10 +93,6 @@ matrix:
       dist: trusty
     - compiler: clang
       os: osx
-      script:
-        # many unit tests fail & so does syntax-check, so skip for now
-        # one day we must fix it though....
-        - make -j3
 
 after_failure:
   - echo '============================================================================'
-- 
2.13.5

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux