* calculate v1 and v2 checksums at once * let libsndfile handle both WAV and FLAC Signed-off-by: Andreas Oberritter <obi@saftware.de>
32 lines
774 B
YAML
32 lines
774 B
YAML
dist: xenial
|
|
sudo: required
|
|
|
|
language: python
|
|
python:
|
|
- "2.7"
|
|
virtualenv:
|
|
system_site_packages: false
|
|
|
|
cache: pip
|
|
|
|
env:
|
|
- FLAKE8=false
|
|
- FLAKE8=true
|
|
|
|
install:
|
|
# Dependencies
|
|
- sudo apt-get -qq update
|
|
- pip install --upgrade -qq pip
|
|
- sudo apt-get -qq install cdparanoia cdrdao flac gir1.2-glib-2.0 libcdio-dev libgirepository1.0-dev libiso9660-dev libsndfile1-dev sox swig libcdio-utils
|
|
- pip install musicbrainzngs mutagen pycdio==0.21 PyGObject requests setuptools setuptools_scm
|
|
|
|
# Testing dependencies
|
|
- pip install twisted flake8
|
|
|
|
# Installing
|
|
- python setup.py install
|
|
|
|
script:
|
|
- if [ ! "$FLAKE8" = true ]; then python -m unittest discover; fi
|
|
- if [ "$FLAKE8" = true ]; then flake8 --benchmark --statistics; fi
|