Files
whipper-gui/.travis.yml
Frederik “Freso” S. Olesen eca3be017a Test against Python versions 3.6, 3.7, and 3.8
Right now tests are only run against Python 3.5, but we claim we support
Python 3.5+ so let’s run our tests against both Python 3.5 and all later
(stable) versions.

PR: https://github.com/whipper-team/whipper/pull/433

Signed-off-by: Frederik “Freso” S. Olesen <freso.dk@gmail.com>
2019-12-15 00:57:37 +01:00

38 lines
889 B
YAML

dist: xenial
sudo: required
language: python
python:
- "3.5"
- "3.6"
- "3.7"
- "3.8"
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
# newer version of pydcio requires newer version of libcdio than travis has
- pip install pycdio==0.21
# install rest of dependencies
- pip install -r requirements.txt
# 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