File tree Expand file tree Collapse file tree 3 files changed +165
-142
lines changed Expand file tree Collapse file tree 3 files changed +165
-142
lines changed Original file line number Diff line number Diff line change 11# Travis CI (https://travis-ci.org/)
2+ # This will only work on your repo if you have an account on travis and you
3+ # have set it up to run continuous integration on this this repo
4+
5+ # Linux distribution
26dist : bionic
7+
8+ # Language and version
39language : python
410python :
511 - " 3.6" # current default Python on Travis CI
12+
613cache :
714 apt : true # only works with Pro version
815
16+ # Install the miss_hit linter
917before_install :
10- - pip3 install --user miss_hit
11- # - cd .. && git clone https://github.com/florianschanda/miss_hit.git && export PATH=$PATH:`pwd`/miss_hit && cd CPP_PTB
18+ - pip3 install miss_hit
1219
20+ # Lists all the tasks we will do
1321jobs :
1422 include :
15- - script : mh_style `pwd`
16- name : " miss_hit linter" # names the second job
17- - script : mh_metric `pwd`
18- name : " miss_hit static analysis" # names the second job
23+ - name : " miss_hit: checking code quality"
24+ script : mh_metric . --ci
25+ - name : " miss_hit: checking code style"
26+ script : mh_style .
27+
Original file line number Diff line number Diff line change 11line_length: 100
22regex_function_name: " [a-z]+(([A-Z]){1}[A-Za-z]+)*"
3- suppress_rule: " copyright_notice"
3+ suppress_rule: " copyright_notice"
4+
5+ metric " cnest" : limit 4
6+ metric " file_length" : limit 500
7+ metric " cyc" : limit 15
8+ metric " parameters" : limit 5
You can’t perform that action at this time.
0 commit comments