diff --git a/travis.sh b/travis.sh index 4144a749..cbd8fc0c 100755 --- a/travis.sh +++ b/travis.sh @@ -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