Make single commands OS-dependent instead.
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
.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