aboutsummaryrefslogtreecommitdiff
path: root/tests/travis/install-build-depends.sh
diff options
context:
space:
mode:
authorBoris Pek <tehnick-8@yandex.ru>2014-03-27 19:45:33 +0400
committerBoris Pek <tehnick-8@yandex.ru>2014-03-27 20:23:41 +0400
commit69ca9f1ceec0a55600530fb51ce12c4f095ea0c9 (patch)
tree07242a57cb32e58863a2f9791d91a16d9a592d29 /tests/travis/install-build-depends.sh
parent7851ba6e3f61e937e62d441eec6b2be6561ec473 (diff)
downloadqxmpp-69ca9f1ceec0a55600530fb51ce12c4f095ea0c9.tar.gz
Update support of 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