travis: build unit tests

This commit is contained in:
derselbst 2018-04-06 20:22:53 +02:00
parent bd5b2f9a9c
commit fdc943b8ad

View file

@ -202,3 +202,5 @@ script:
- cmake -DCMAKE_INSTALL_PREFIX=$HOME/fluidsynth_install ${CMAKE_FLAGS} "-Denable-portaudio=1" "-Denable-ladspa=1" "-DCMAKE_BUILD_TYPE=RelWithDebInfo" ..
- make -j4
- if [ $TRAVIS_OS_NAME = linux ]; then make install; fi # install only on linux, as CMAKE_INSTALL_PREFIX is ignored for frameworks on macosx and I cant tell whether that's correct or a bug
- cmake -Denable-tests=1 ..
- make check