deps: add cmocka as submodule for unit testing

This commit is contained in:
Recep Aslantas
2017-04-22 16:56:16 +03:00
parent e7f35704ca
commit 24b9992f19
5 changed files with 37 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ before_install:
- pip install --user cpp-coveralls
script:
- sh ./build-deps.sh
- sh ./autogen.sh
- if [[ "$CC" == "gcc" && "$CODE_COVERAGE" == "ON" ]]; then
./configure CFLAGS="-ftest-coverage -fprofile-arcs";