Navigation Menu

Skip to content

Commit

Permalink
travis: fix apt for MySQL 5.6 or later usage
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 19, 2016
1 parent f2c9ed1 commit 6b69938
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tools/travis/install.sh
Expand Up @@ -106,12 +106,16 @@ else
else
repository_deb=mysql-apt-config_0.7.2-1_all.deb
curl -O http://repo.mysql.com/${repository_deb}
sudo dpkg -i ${repository_deb}
sudo env MYSQL_SERVER_VERSION=mysql-${series} \
dpkg -i ${repository_deb}
sudo apt-get -qq update
sudo apt-get -qq -y remove --purge mysql-common
sudo apt-get -qq -y build-dep mysql-server
sudo apt-get -qq -y install \
mysql-server libmysqlclient-dev mysql-test
mysql-server \
libmysqlclient-dev \
libmysqld-dev \
mysql-testsuite
apt-get -qq source mysql-server
ln -s $(find . -maxdepth 1 -type d | sort | tail -1) mysql
fi
Expand Down

0 comments on commit 6b69938

Please sign in to comment.