Files
whipper-gui/.travis.yml
2020-09-14 13:29:16 +00:00

42 lines
989 B
YAML

os: linux
dist: xenial
language: python
python:
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "3.9-dev"
virtualenv:
system_site_packages: false
cache: pip
env:
- FLAKE8=false
jobs:
allow_failures:
- python: "3.5"
- python: "3.9-dev"
include:
- python: 3.8
env: 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 libdiscid0 python3-pil
# newer versions of pydcio requires a newer version of libcdio than Travis has
- pip install pycdio==0.21
# flake8 and twisted are testing dependencies
- pip install flake8 twisted -r requirements.txt
# Installing
- python setup.py install
script:
- if [ ! "$FLAKE8" = true ]; then python -m unittest discover; fi
- if [ "$FLAKE8" = true ]; then flake8 --benchmark --statistics; fi