summaryrefslogtreecommitdiff
path: root/scripts/setup-travis.sh
blob: c6a93c78467fe80196ca1f8fde4819e1af1697f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

# SPDX-FileCopyrightText: Allen Winter <winter@kde.org>
# SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0

# things to do for travis-ci in the before_install section

if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
  brew install libxml2
  brew install icu4c
  brew install db
  brew install gobject-introspection
  brew install gtk-doc
else
  sudo apt-get update -qq
  sudo apt-get install libicu-dev
  sudo apt-get install libdb-dev
  sudo apt-get install gobject-introspection libgirepository1.0-dev
  sudo apt-get install gtk-doc-tools
fi