summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandan Singh <csingh43@bloomberg.net>2019-05-21 17:15:09 +0100
committerChandan Singh <csingh43@bloomberg.net>2019-05-21 17:15:09 +0100
commit1a637e64db8fd856ab5a3c846a1025a51ea6fe2f (patch)
treef5deb03ee72c0828f8582c0e2e094b2bca77b0f9
parentc6b47fb6e70261bb27141a40825751e3a0d74b71 (diff)
downloadbuildstream-1a637e64db8fd856ab5a3c846a1025a51ea6fe2f.tar.gz
.gitlab-ci.yml: Fix source path for analysis jobs
Since the `buildstream` module now lives inside `src` directory, also update the paths that we give to `radon`.
-rw-r--r--.gitlab-ci.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3434c0f27..336cc4cef 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -297,18 +297,18 @@ analysis:
- |
echo "Calculating Maintainability Index"
- radon mi -s -j buildstream > analysis/mi.json
- radon mi -s buildstream
+ radon mi -s -j src/buildstream > analysis/mi.json
+ radon mi -s src/buildstream
- |
echo "Calculating Cyclomatic Complexity"
- radon cc -a -s -j buildstream > analysis/cc.json
- radon cc -a -s buildstream
+ radon cc -a -s -j src/buildstream > analysis/cc.json
+ radon cc -a -s src/buildstream
- |
echo "Calculating Raw Metrics"
- radon raw -s -j buildstream > analysis/raw.json
- radon raw -s buildstream
+ radon raw -s -j src/buildstream > analysis/raw.json
+ radon raw -s src/buildstream
except:
- schedules