-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy path.scrutinizer-build-config
52 lines (52 loc) · 1.88 KB
/
.scrutinizer-build-config
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# new config
checks:
python:
code_rating: true
duplicate_code: true
javascript: true
build:
environment:
apt_packages:
- ffmpeg
nodes:
analysis:
# Used for installing any needed dependencies by your project like apt package or libraries.
dependencies:
before:
- CDIR=$(pwd)
- echo "Current working directory is $CDIR"
override:
- wget https://repo.anaconda.com/miniconda/Miniconda3-py312_24.5.0-0-Linux-x86_64.sh -O "/tmp/conda.sh" && dl=1
- cd /tmp
- chmod +x conda.sh
- ./conda.sh -b -p $HOME/miniconda3
- $HOME/miniconda3/bin/conda update conda -y
- . $HOME/miniconda3/etc/profile.d/conda.sh
- conda config --append channels conda-forge
- conda create -n rsudp python=3.12.4 numpy=2.0.1 future scipy lxml sqlalchemy coverage -y
- conda activate rsudp
- pip install -U pip
project_setup:
override:
- cd $CDIR
- pip install .
- rs-client -d default
tests:
before:
- pip install -U pylint astroid coverage
override:
- py-scrutinizer-run
-
command: pylint-run
use_website_config: true
- command: 'coverage run; coverage combine'
coverage:
file: .coverage
config_file: .coveragerc
format: py-cc
filter:
excluded_paths:
- '*/test/*'
- '*.min.js'
dependency_paths:
- 'lib/*'