aboutsummaryrefslogtreecommitdiff
path: root/tests/travis/install-build-depends.sh
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2014-03-27 20:14:48 +0100
committerJeremy Lainé <jeremy.laine@m4x.org>2014-03-27 20:14:48 +0100
commit8247a27fc75f698c97b724b4a57eaf7dba8e9934 (patch)
tree8106821440d57c93fa3f04570e9e01bf4c185e35 /tests/travis/install-build-depends.sh
parent5c84253fc60c4ed60ff7c86237532c1ff9dea7ed (diff)
parent69ca9f1ceec0a55600530fb51ce12c4f095ea0c9 (diff)
downloadqxmpp-8247a27fc75f698c97b724b4a57eaf7dba8e9934.tar.gz
Merge pull request #1 from tehnick/travis
Update hook for Travis CI.
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