forked from senaite/senaite.core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scrutinizer.yml
38 lines (34 loc) · 938 Bytes
/
.scrutinizer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
checks:
python:
code_rating: true
duplicate_code: true
classes_valid_slots: true
filter:
excluded_paths:
- '*/coffee/*'
- '*/test/*'
- '*/tests/*'
- '*/static/assets/*'
- '*/static/bootstrap/*'
- '*/static/bundles/*'
- '*/static/fonts/*'
- '*/static/jquery/*'
- '*/static/modules/*'
- '*/static/thirdparty/*'
- '*/upgrade/*'
- '*.min.js'
build:
environment:
python: 2.7.18
dependencies:
before:
- pip install virtualenv
- pip install -r requirements.txt
- /home/scrutinizer/.pyenv/versions/2.7.18/bin/buildout -v
- mv -v /home/scrutinizer/build/develop-eggs/* /home/scrutinizer/.pyenv/versions/2.7.18/lib/python2.7/site-packages/
- mv -v /home/scrutinizer/build/eggs/*.egg /home/scrutinizer/.pyenv/versions/2.7.18/lib/python2.7/site-packages/
nodes:
analysis:
tests:
override:
- py-scrutinizer-run