You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-09-11 08:30:59 +03:00
travis: clone server tree with depth=1
This commit is contained in:
@@ -15,17 +15,18 @@ if [ -n "$server_branch" ] ; then
|
||||
sudo tail /etc/hosts
|
||||
|
||||
# get latest server
|
||||
git clone -b ${server_branch} https://github.com/mariadb/server ../workdir-server
|
||||
git clone -b ${server_branch} https://github.com/mariadb/server ../workdir-server --depth=1
|
||||
|
||||
cd ../workdir-server
|
||||
mkdir bld
|
||||
cd bld
|
||||
export SERVER_DIR=$PWD
|
||||
|
||||
# don't pull in submodules. We want the latest C/C as libmariadb
|
||||
# build latest server with latest C/C as libmariadb
|
||||
# skip to build some storage engines to speed up the build
|
||||
cmake -DPLUGIN_MROONGA=NO -DPLUGIN_ROCKSDB=NO -DPLUGIN_SPIDER=NO -DPLUGIN_TOKUDB=NO
|
||||
|
||||
mkdir bld
|
||||
cd bld
|
||||
cmake .. -DPLUGIN_MROONGA=NO -DPLUGIN_ROCKSDB=NO -DPLUGIN_SPIDER=NO -DPLUGIN_TOKUDB=NO
|
||||
cd libmariadb
|
||||
echo "PR:${TRAVIS_PULL_REQUEST} TRAVIS_COMMIT:${TRAVIS_COMMIT}"
|
||||
if [ -n "$TRAVIS_PULL_REQUEST" ] && [ "$TRAVIS_PULL_REQUEST" != "false" ] ; then
|
||||
|
Reference in New Issue
Block a user