Update Travis build script

The actual build scripts for MaxScale are now used to prepare the build
environment. This should make the Travis CI build easier to maintain.
This commit is contained in:
Markus Mäkelä
2018-03-06 11:34:36 +02:00
parent 82839abc38
commit 7dc844c38a

View File

@ -9,14 +9,17 @@
echo TRAVIS_BUILD_DIR: ${TRAVIS_BUILD_DIR} echo TRAVIS_BUILD_DIR: ${TRAVIS_BUILD_DIR}
# Configure the build environment
./BUILD/install_build_deps.sh
mkdir build mkdir build
cd build cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTS=Y -DBUILD_AVRO=N cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTS=Y
make make
make test make test || exit 1
sudo make install
sudo make install
sudo ./postinst sudo ./postinst
maxscale --version maxscale --version