From 45e8de8e000d1913756b0ed43b8dd49ff06a1430 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Sat, 10 Dec 2016 15:41:16 +0100 Subject: Upload the coverage results to coveralls --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9b1020f..b2f06df 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -92,6 +92,7 @@ build:rpm: - make check - make coverage - 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: paths: - build/coverage/ @@ -101,6 +102,8 @@ build:rpm: name: $CI_PROJECT_NAME-test-$CI_BUILD_ID test:debian: + variables: + UPLOAD_TO_COVERALLS: "true" image: biboumi-test-debian:latest <<: *basic_test -- cgit v1.2.3