Navigation Menu

Skip to content

Commit

Permalink
travis: build Percona server
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 2, 2016
1 parent 4afc8a2 commit 51b3ebb
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions tools/travis/before_script.sh
Expand Up @@ -51,10 +51,10 @@ else
fi
configure_args=("--with-mysql-source=$PWD/vendor/mysql")
case "${MYSQL_VERSION}" in
mysql-5.6|percona-server-5.6)
mysql-5.6)
configure_args=("${configure_args[@]}" --enable-fast-mutexes)
;;
mysql-5.7|percona-server-5.7)
mysql-5.7)
boost_archive=boost_1_59_0.tar.gz
curl -L -O http://downloads.sourceforge.net/project/boost/boost/1.59.0/${boost_archive}
sudo mkdir -p /usr/global/share
Expand All @@ -66,6 +66,25 @@ else
configure_args=("${configure_args[@]}"
"--with-mysql-build=$PWD/vendor/mysql/builddir")
;;
percona-server-5.6)
export DEB_BUILD_OPTIONS=noopt
(cd vendor/mysql && sudo debian/rules build)
configure_args=("${configure_args[@]}"
"--enable-fast-mutexes"
"--with-mysql-build=$PWD/vendor/mysql/builddir"
"--with-mysql-config=$PWD/vendor/mysql/builddir/scripts/mysql_config")
;;
percona-server-5.7)
boost_archive=boost_1_59_0.tar.gz
curl -L -O http://downloads.sourceforge.net/project/boost/boost/1.59.0/${boost_archive}
sudo mkdir -p /usr/global/share
sudo mv ${boost_archive} /usr/global/share/
export DEB_BUILD_OPTIONS=noopt
(cd vendor/mysql && sudo debian/rules build)
configure_args=("${configure_args[@]}"
"--with-mysql-build=$PWD/vendor/mysql/builddir"
"--with-mysql-config=$PWD/vendor/mysql/builddir/scripts/mysql_config")
;;
*)
:
;;
Expand Down

0 comments on commit 51b3ebb

Please sign in to comment.