Commit e03b6c58 authored by Claudio André's avatar Claudio André

CI: create a job to get some project statistics

parent 21a60d44
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment