use build type set in .travis.yml

The BUILD_TYPE variable of .travis.yml was ignored up to now.
This commit is contained in:
Herbert Thielen 2017-08-30 11:59:36 +02:00
parent 71e2858f32
commit cc246ecb56

View File

@ -9,6 +9,7 @@ cmake -Dgtest_build_samples=ON \
-Dgtest_build_tests=ON \
-Dgmock_build_tests=ON \
-DCMAKE_CXX_FLAGS=$CXX_FLAGS \
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
..
make
CTEST_OUTPUT_ON_FAILURE=1 make test