2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-29 21:38:16 +00:00

CI: move travis' after_success to a script

It is easier to handle it this way

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
Kir Kolyshkin 2016-10-11 18:46:57 -07:00 committed by Pavel Emelyanov
parent f645996228
commit 2f2fc08202
3 changed files with 12 additions and 4 deletions

View File

@ -13,7 +13,4 @@ env:
script: script:
- sudo make -C scripts/travis $TR_ARCH - sudo make -C scripts/travis $TR_ARCH
after_success: after_success:
- sudo apt-get install -qq -y lcov - make -C scripts/travis after_success
- gem install coveralls-lcov
- sudo lcov --directory criu --capture --output-file coverage.info
- coveralls-lcov coverage.info

View File

@ -2,5 +2,9 @@ local:
./travis-tests ./travis-tests
.PHONY: local .PHONY: local
after_success:
./travis-after_success
.PHONY: after_success
%: %:
$(MAKE) -C ../build $@ $(MAKE) -C ../build $@

View File

@ -0,0 +1,7 @@
#!/bin/sh
set -x -e
sudo apt-get install -qq -y lcov
gem install coveralls-lcov
sudo lcov --directory ../.. --capture --output-file coverage.info
coveralls-lcov coverage.info