Commit dc202520 authored by Andrei Vagin's avatar Andrei Vagin Committed by Pavel Emelyanov

travis: fix collecting code coverage

The problem is in the chroot test:
geninfo: ERROR: /home/travis/build/xemul/criu/test/zdtm/static/chroot.dir.test/home/travis/build/xemul/criu/images/timer.gcno: could not open file

We can just ignore these errors.

travis-ci: success for travis: fix collecting code coverage
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 10801f36
...@@ -6,5 +6,5 @@ test -z "$GCOV" && exit 0 ...@@ -6,5 +6,5 @@ test -z "$GCOV" && exit 0
sudo apt-get install -qq -y lcov sudo apt-get install -qq -y lcov
gem install coveralls-lcov gem install coveralls-lcov
sudo lcov --directory ../.. --capture --output-file coverage.info sudo lcov --directory ../.. --capture --output-file coverage.info --ignore-errors graph
coveralls-lcov coverage.info coveralls-lcov coverage.info
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment