aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/travis/before-script.sh
blob: 851639f8761d8f622f6ff3cfb1dd2f2ac550fb0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh
set -e

if test x"`uname`" = xDarwin ; then
  sudo systemsetup -settimezone America/Los_Angeles
  brew update || brew update || :
  brew uninstall xctool && brew install --HEAD xctool
  brew install cmake
elif test x"`uname`" = xLinux ; then
  git clone --depth=1 https://github.com/dinhviethoa/libetpan
  cd libetpan
  ./autogen.sh
  make >/dev/null
  sudo make install >/dev/null
  cd ..

  sudo apt-get install libctemplate-dev
  sudo apt-get install libicu-dev
  sudo apt-get install libsasl2-dev
  sudo apt-get install libtidy-dev
  sudo apt-get install uuid-dev
  sudo apt-get install libxml2-dev
  sudo apt-get install libuchardet-dev
fi