summaryrefslogtreecommitdiff
path: root/.travis/linux
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2018-08-24 17:10:20 +0200
committerDaiki Ueno <ueno@gnu.org>2018-08-28 14:44:56 +0200
commit0961cf527f1414bf5a900d958ee776cdd28f3525 (patch)
treef1439a577a39dddece5c28801e1640113bc674db /.travis/linux
parent2066e7c57a7ae82e35fee3deaa06d89498d749a3 (diff)
travis: Manually install cpp-coveralls
To accommodate the gcov format change in gcc 8.1: https://github.com/eddyxu/cpp-coveralls/pull/127 which is not yet available in the pip version.
Diffstat (limited to '.travis/linux')
-rw-r--r--.travis/linux/after_success.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/.travis/linux/after_success.sh b/.travis/linux/after_success.sh
index fd874fb..9c42ce9 100644
--- a/.travis/linux/after_success.sh
+++ b/.travis/linux/after_success.sh
@@ -1,9 +1,13 @@
#!/bin/sh
if test x"$COVERAGE" = xyes; then
- docker exec $CONTAINER pip install cpp-coveralls
+ # docker exec $CONTAINER pip install cpp-coveralls
+
+ # manually install cpp-coveralls until the gcov fix has been
+ # incorporated in the pip version
+ docker exec $CONTAINER sh -c "cd /tmp && rm -rf cpp-coveralls && git clone -q https://github.com/eddyxu/cpp-coveralls && cd cpp-coveralls && python setup.py build && python setup.py install"
docker exec \
-e TRAVIS_JOB_ID="$TRAVIS_JOB_ID" \
-e TRAVIS_BRANCH="$TRAVIS_BRANCH" \
- $CONTAINER sh -c "cd $BUILDDIR && coveralls -b $BUILDDIR -E '(^|.*/)(frob|mock|test)-.*|(^|.*/)(virtual-fixed\.c)' --gcov-options '\-lp'"
+ $CONTAINER sh -c "cd $BUILDDIR && cpp-coveralls -b $BUILDDIR -E '(^|.*/)(frob|mock|test)-.*|(^|.*/)(virtual-fixed\.c)' --gcov-options '\-lp'"
fi