Skip to content
Snippets Groups Projects
Commit 41e41ca0 authored by Soeren Peters's avatar Soeren Peters
Browse files

Merge pull request 'feature/lizard' (#53) from peters/VirtualFluids_dev:feature/lizard into develop

Reviewed-on: https://git.irmb.bau.tu-bs.de/VirtualFluids/VirtualFluids_dev/pulls/53
parents d6f0eceb e5e87899
No related branches found
No related tags found
No related merge requests found
......@@ -204,3 +204,27 @@ deploy_cppcheck_to_elladan:
script:
- ansible-playbook -i ansible/hosts.cfg -u public_pages ansible/playbook_cppcheck.yml
# lizard - Cyclomatic Complexity Analyzer
# Ignore warnings is manually set to 191. This job will fail when new warnings are added.
lizard:
stage: test
before_script:
- export DEBIAN_FRONTEND=noninteractive
- apt-get update
- cd /tmp
- git clone https://github.com/terryyin/lizard.git
- cd lizard
- python3 setup.py install
- which lizard
- lizard --version
script:
- cd $CI_PROJECT_DIR
- lizard -l cpp src/ > lizard.txt --ignore_warnings 191
artifacts:
paths:
- lizard.txt
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment