# 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 numpy=1.16.4 future scipy lxml sqlalchemy coverage -y - conda activate rsudp - pip install -U pip project_setup: override: - cd $CDIR - pip install obspy==1.2.2 - 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/*'