Upload the coverage results to coveralls
This commit is contained in:
@@ -92,6 +92,7 @@ build:rpm:
|
|||||||
- make check
|
- make check
|
||||||
- make coverage
|
- make coverage
|
||||||
- mkdir tests_outputs && pushd tests_outputs && make coverage_e2e -j$(nproc || echo 1) -C .. && popd
|
- mkdir tests_outputs && pushd tests_outputs && make coverage_e2e -j$(nproc || echo 1) -C .. && popd
|
||||||
|
- if [ ! -z $COVERALLS_TOKEN -a ! -z $UPLOAD_TO_COVERALLS ]; then gem install coveralls-lcov && coveralls-lcov --repo-token $COVERALLS_TOKEN coverage_e2e.info.cleaned; fi
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- build/coverage/
|
- build/coverage/
|
||||||
@@ -101,6 +102,8 @@ build:rpm:
|
|||||||
name: $CI_PROJECT_NAME-test-$CI_BUILD_ID
|
name: $CI_PROJECT_NAME-test-$CI_BUILD_ID
|
||||||
|
|
||||||
test:debian:
|
test:debian:
|
||||||
|
variables:
|
||||||
|
UPLOAD_TO_COVERALLS: "true"
|
||||||
image: biboumi-test-debian:latest
|
image: biboumi-test-debian:latest
|
||||||
<<: *basic_test
|
<<: *basic_test
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user