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:
parent
f645996228
commit
2f2fc08202
@ -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
|
|
||||||
|
@ -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 $@
|
||||||
|
7
scripts/travis/travis-after_success
Executable file
7
scripts/travis/travis-after_success
Executable 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
|
Loading…
x
Reference in New Issue
Block a user