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}
# Configure the build environment
./BUILD/install_build_deps.sh
mkdir 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 test
sudo make install
make test || exit 1
sudo make install
sudo ./postinst
maxscale --version