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