Fix Travis builds
The travis builds failed due to outdated build scripts. The queuemanager also failed to build on non-Debug builds.
This commit is contained in:
@ -8,16 +8,15 @@
|
||||
|
||||
|
||||
echo TRAVIS_BUILD_DIR: ${TRAVIS_BUILD_DIR}
|
||||
echo MARIADB_DIR: ${MARIADB_DIR}
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DMYSQL_EMBEDDED_INCLUDE_DIR=${TRAVIS_BUILD_DIR}/${MARIADB_DIR}/include/ -DMYSQL_EMBEDDED_LIBRARIES=${TRAVIS_BUILD_DIR}/${MARIADB_DIR}/lib/libmysqld.a -DERRMSG=${TRAVIS_BUILD_DIR}/${MARIADB_DIR}/share/english/errmsg.sys
|
||||
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTS=Y
|
||||
|
||||
make VERBOSE=1
|
||||
make test
|
||||
sudo make install
|
||||
sudo make testcore
|
||||
|
||||
sudo ./postinst
|
||||
maxscale --version
|
||||
|
@ -1,12 +0,0 @@
|
||||
#/bin/sh -f
|
||||
|
||||
# these environment variables are set in .travis.yml
|
||||
# MARIADB_URL=https://downloads.mariadb.org/interstitial/mariadb-5.5.48/bintar-linux-glibc_214-x86_64/mariadb-5.5.48-linux-glibc_214-x86_64.tar.gz/from/http%3A//mirror.netinch.com/pub/mariadb/
|
||||
# MARIADB_TAR=mariadb-5.5.48-linux-glibc_214-x86_64.tar.gz
|
||||
# MARIADB_DIR=mariadb-5.5.48-linux-x86_64
|
||||
|
||||
# get mariadb
|
||||
wget --content-disposition ${MARIADB_URL}
|
||||
|
||||
# unompress
|
||||
tar -axf ${MARIADB_TAR}
|
Reference in New Issue
Block a user