Build coverage and usan Travis CI targets with CMake

This commit is contained in:
wilsonianb
2016-07-21 17:03:18 -04:00
committed by Vinnie Falco
parent 42557b800c
commit e199c0555c
3 changed files with 33 additions and 24 deletions
+2 -1
View File
@@ -85,7 +85,7 @@ function build_beast {
function build_beast_cmake {
mkdir -p build
pushd build > /dev/null
cmake -DCMAKE_BUILD_TYPE=${VARIANT^} ..
cmake -DVARIANT=${VARIANT} ..
make -j${num_jobs}
mkdir -p ../bin/$VARIANT
find . -executable -type f -exec cp {} ../bin/$VARIANT/. \;
@@ -137,6 +137,7 @@ if [[ $VARIANT == "coverage" ]]; then
run_tests_with_valgrind
run_autobahn_test_suite
else
echo "skipping autobahn tests for feature branch build"
run_tests
fi