diff options
author | louiz’ <louiz@louiz.org> | 2016-12-10 15:41:16 +0100 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2016-12-10 15:48:41 +0100 |
commit | 45e8de8e000d1913756b0ed43b8dd49ff06a1430 (patch) | |
tree | 463fd1348efa8e4c21c98fef81dcaaf781eed21c | |
parent | 10c126a2864ac44fa5bebe74be7e679b7f0fc692 (diff) | |
download | biboumi-45e8de8e000d1913756b0ed43b8dd49ff06a1430.tar.gz biboumi-45e8de8e000d1913756b0ed43b8dd49ff06a1430.tar.bz2 biboumi-45e8de8e000d1913756b0ed43b8dd49ff06a1430.tar.xz biboumi-45e8de8e000d1913756b0ed43b8dd49ff06a1430.zip |
Upload the coverage results to coveralls
-rw-r--r-- | .gitlab-ci.yml | 3 |
1 files changed, 3 insertions, 0 deletions
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 |