summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorRJ Skerry-Ryan <rryan@mixxx.org>2018-04-25 21:20:32 -0700
committerRJ Skerry-Ryan <rryan@mixxx.org>2018-04-25 21:40:17 -0700
commit8a8dc986747506c21f3ff0441f19588c292691e2 (patch)
tree530027194d001507452338003a7ceff4f22935dd /.travis.yml
parenta93f79f2ca717268dfafd072df911cb10d2e215d (diff)
Actually fail the Travis build when macOS tests fail.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 81df7ccccb..e2183aca36 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -94,7 +94,9 @@ script:
# return code in order to avoid having a sucessful build when a test fail.
# https://bugs.launchpad.net/mixxx/+bug/1699689
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./mixxx-test ; fi
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then lldb ./mixxx-test --batch -o run -o quit -k 'thread backtrace all' -k quit ; fi
+ # lldb doesn't provide an easy way to exit 1 on error:
+ # https://bugs.llvm.org/show_bug.cgi?id=27326
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then lldb ./mixxx-test --batch -o run -o quit -k 'thread backtrace all' -k "script import os; os._exit(1)" ; fi
notifications:
webhooks: