Build MaxScale in debug mode for Travis

The internal test set depends on SS_DEBUG being defined and it is only
defined for debug builds.
This commit is contained in:
Markus Makela
2016-10-18 21:50:49 +03:00
parent 7d202eb084
commit 623acfe1b5
3 changed files with 7 additions and 2 deletions

View File

@ -12,7 +12,7 @@ echo TRAVIS_BUILD_DIR: ${TRAVIS_BUILD_DIR}
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTS=Y -DBUILD_AVRO=N
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTS=Y -DBUILD_AVRO=N
make
make test