aboutsummaryrefslogtreecommitdiff
path: root/tests/travis/install-build-depends
diff options
context:
space:
mode:
Diffstat (limited to 'tests/travis/install-build-depends')
-rwxr-xr-xtests/travis/install-build-depends25
1 files changed, 18 insertions, 7 deletions
diff --git a/tests/travis/install-build-depends b/tests/travis/install-build-depends
index f735d816..b5aa9c65 100755
--- a/tests/travis/install-build-depends
+++ b/tests/travis/install-build-depends
@@ -1,11 +1,22 @@
#!/bin/sh
set -e
-sudo apt-get update -qq
-sudo apt-get install -qq qtbase5-dev cmake
+if [ "$(uname -s)" = "Darwin" ]; then
+ brew update
+ brew install qt
-case "$CONFIG" in
-full*)
- sudo apt-get install -qq doxygen libopus-dev libspeex-dev libtheora-dev libvpx-dev
- ;;
-esac
+ case "$CONFIG" in
+ full*)
+ brew install doxygen opus speex theora libvpx
+ ;;
+ esac
+else
+ sudo apt-get update -qq
+ sudo apt-get install -qq cmake qtbase5-dev
+
+ case "$CONFIG" in
+ full*)
+ sudo apt-get install -qq doxygen libopus-dev libspeex-dev libtheora-dev libvpx-dev
+ ;;
+ esac
+fi