summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCorentin Noël <corentin.noel@collabora.com>2018-11-22 13:59:52 +0100
committerAllen Winter <allen.winter@kdab.com>2018-11-23 10:58:16 -0500
commit3432d17de75a75cccb1c95e99355db0da7c77bee (patch)
treeb0e6c51d09283fa911ad708f5bc890072e3b1da4 /scripts
parent3676165eeb854650c4ea1abf6c47c254e5cdfc53 (diff)
downloadlibical-git-3432d17de75a75cccb1c95e99355db0da7c77bee.tar.gz
Update travis CI for trusty
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/setup-travis.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/setup-travis.sh b/scripts/setup-travis.sh
index 36705b78..315ee3b2 100755
--- a/scripts/setup-travis.sh
+++ b/scripts/setup-travis.sh
@@ -1,9 +1,9 @@
-#/bin/sh -f
+#!/bin/bash
# things to do for travis-ci in the before_install section
-if ( test "`uname -s`" = "Darwin" )
-then
+if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
+ brew install libxml2
brew install icu4c
brew install db
brew install gobject-introspection
@@ -11,7 +11,7 @@ then
else
sudo apt-get update -qq
sudo apt-get install libicu-dev
- sudo apt-get install libdb4.8-dev
+ sudo apt-get install libdb-dev
sudo apt-get install gobject-introspection libgirepository1.0-dev
sudo apt-get install gtk-doc-tools
fi