From 6d1ddf7f474f764f79370b3f5d9b354f2f46460b Mon Sep 17 00:00:00 2001 From: Aayush Ahuja Date: Mon, 5 Jan 2015 19:22:38 +1300 Subject: [PATCH] Coveralls fix --- .travis-after.sh | 4 ++-- .travis-setup.sh | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis-after.sh b/.travis-after.sh index 57b29fc..1363160 100755 --- a/.travis-after.sh +++ b/.travis-after.sh @@ -11,8 +11,8 @@ if [[ $TYPE != "style" ]]; then cd python-api ;; server ) - ls -ltr tools/ - COVERALL_ARGS="-n -r tools" + find ~ -name *.gcda + COVERALL_ARGS="-n -r $HOME/gst-switch-coverage" ;; esac diff --git a/.travis-setup.sh b/.travis-setup.sh index d5d1140..2176ef0 100644 --- a/.travis-setup.sh +++ b/.travis-setup.sh @@ -28,5 +28,6 @@ else sudo pip install python-coveralls --upgrade fi +export GCOV_PREFIX=$HOME/gst-switch-coverage ./autogen.sh make \ No newline at end of file