[gjs: 1/2] CI: save code statistics in GitLab pages
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs: 1/2] CI: save code statistics in GitLab pages
- Date: Sun, 8 Jul 2018 21:51:14 +0000 (UTC)
commit 47130aabb204fe5d24ab7c16fa6fe2d5afd13b7b
Author: Claudio André <claudioandre br gmail com>
Date: Sun Jul 1 06:54:26 2018 -0300
CI: save code statistics in GitLab pages
.gitlab-ci.yml | 2 ++
README.md | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e0c96fec..231a5298 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -266,8 +266,10 @@ pages:
stage: delivery
dependencies:
- coverage
+ - code_statistics
script:
- mv $(pwd)/coverage/ public/
+ - mv $(pwd)/analysis/report.txt public/
artifacts:
paths:
- public
diff --git a/README.md b/README.md
index f8f84dbf..3c43a872 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
[![Build
Status](https://gitlab.gnome.org/GNOME/gjs/badges/master/build.svg)](https://gitlab.gnome.org/GNOME/gjs/pipelines)
[![Coverage
report](https://gitlab.gnome.org/GNOME/gjs/badges/master/coverage.svg)](https://gnome.pages.gitlab.gnome.org/gjs/)
[![Contributors](https://img.shields.io/github/contributors/GNOME/gjs.svg)](https://gitlab.gnome.org/GNOME/gjs/graphs/master)
-[![LoC](https://tokei.rs/b1/github/GNOME/gjs?category=code)](https://gitlab.gnome.org/GNOME/gjs/tree/master)
+[![LoC](https://tokei.rs/b1/github/GNOME/gjs?category=code)](https://gnome.pages.gitlab.gnome.org/gjs/report.txt)
[![Last
commit](https://img.shields.io/github/last-commit/GNOME/gjs.svg)](https://gitlab.gnome.org/GNOME/gjs/commits/master)
[![Search
hit](https://img.shields.io/github/search/GNOME/gjs/goto.svg?label=github%20hits)](https://github.com/search?utf8=%E2%9C%93&q=gjs&type=)
[![License](https://img.shields.io/badge/License-LGPL%20v2%2B-blue.svg)](https://gitlab.gnome.org/GNOME/gjs/blob/master/COPYING)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]