Navigation Menu

Skip to content

Commit

Permalink
travis: add fallback for apt-get build-dep
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Mar 10, 2015
1 parent df0f91b commit f3d536c
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion tools/travis/install.sh
Expand Up @@ -93,7 +93,36 @@ deb-src ${apt_url_base}/${distribution}/ ${code_name} ${component}
EOF
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db
sudo apt-get -qq update
sudo apt-get -qq -y build-dep mariadb-server
if ! sudo apt-get -qq -y build-dep mariadb-server; then
# MariaDB 10.0 or later doesn't provide .dsc file for old Ubuntu. :<
sudo apt-get -qq -y install \
libtool \
procps \
debhelper \
file \
libncurses5-dev \
perl \
libwrap0-dev \
zlib1g-dev \
libreadline-gplv2-dev \
libssl-dev \
libpam0g-dev \
psmisc \
po-debconf \
chrpath \
automake1.9 \
doxygen \
texlive-latex-base \
ghostscript \
dpatch \
gawk \
bison \
lsb-release \
hardening-wrapper \
cmake \
libaio-dev \
libjemalloc-dev
fi
sudo apt-get -qq -y install \
mariadb-server libmariadbclient-dev mariadb-test
apt-get -qq source mariadb-server
Expand Down

0 comments on commit f3d536c

Please sign in to comment.