[gjs: 1/2] CI: create a job to get some project statistics
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs: 1/2] CI: create a job to get some project statistics
- Date: Wed, 28 Feb 2018 03:01:50 +0000 (UTC)
commit e03b6c58a60b561de588821af2b15dc9ec3fab7d
Author: Claudio André <claudioandre br gmail com>
Date: Mon Feb 26 09:25:20 2018 -0300
CI: create a job to get some project statistics
.gitlab-ci.yml | 7 +++++++
test/test-ci.sh | 7 +++++++
2 files changed, 14 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 896b094..bea8762 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -98,6 +98,13 @@ cppcheck:
variables:
CODECHECK: "CPPCHECK"
+code_statistics:
+ <<: *build
+ stage: static_analysis
+ image: claudioandre/spidermonkey:fedora.dev.gcc
+ variables:
+ CODECHECK: "TOKEI"
+
# Publish Code Coverage Report
pages:
stage: docs
diff --git a/test/test-ci.sh b/test/test-ci.sh
index 8f7593b..0bb3870 100755
--- a/test/test-ci.sh
+++ b/test/test-ci.sh
@@ -139,6 +139,13 @@ elif [[ $1 == "CPPCHECK" ]]; then
echo '----------------------------------------'
exit 3
fi
+
+elif [[ $1 == "TOKEI" ]]; then
+ echo
+ echo '-- Project statistics --'
+ echo
+
+ tokei .
fi
# Done
echo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]