Repository Config
# 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-4.7.12-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.7.4 matplotlib=3.1.1 numpy=1.16.4 future scipy lxml sqlalchemy obspy coverage -y
- conda activate rsudp
- cd $CDIR
- pip install .
project_setup:
override:
- rs-client -d default
tests:
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/*'