aboutsummaryrefslogtreecommitdiff
path: root/tests/travis/install-build-depends.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/travis/install-build-depends.sh')
-rwxr-xr-xtests/travis/install-build-depends.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/travis/install-build-depends.sh b/tests/travis/install-build-depends.sh
new file mode 100755
index 00000000..66a1ddd3
--- /dev/null
+++ b/tests/travis/install-build-depends.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+sudo apt-get update -qq
+
+if [ "$QT_SELECT" = "qt4" ]; then
+ sudo apt-get install -qq libqt4-dev
+else
+ sudo add-apt-repository -y ppa:ubuntu-sdk-team/ppa
+ sudo apt-get update -qq
+ sudo apt-get install qtbase5-dev
+fi
+
+if [ "$CONFIG" = "full" ]; then
+ sudo apt-get install -qq libspeex-dev libtheora-dev
+fi