Update .travis.yml

This commit is contained in:
Recep Aslantas
2019-09-19 00:02:38 +03:00
parent 78f38db480
commit 7797ee7b06

View File

@@ -39,7 +39,7 @@ branches:
script:
- sh ./autogen.sh
- if [[ "$CC" == "gcc" && "$CODE_COVERAGE" == "ON" ]]; then
./configure CFLAGS="-ftest-coverage -fprofile-arcs";
./configure CFLAGS="-ftest-coverage -fprofile-arcs -coverage";
else
./configure;
fi
@@ -55,6 +55,7 @@ after_success:
--exclude test
--gcov-options '\-lp'
--verbose;
bash <(curl -s https://codecov.io/bash)
fi
# after_failure: