Files
whipper-gui/.travis.yml
Frederik “Freso” S. Olesen dd6d1d0579 Stop allowing flake8 to fail in Travis CI
Commit b6fb7e8a86 fixes all current flake8
errors, so unsetting this `allow_failures` makes sure that any PEP8 or
similar syntax mistakes get caught immediately.
2017-05-31 23:14:54 +02:00

31 lines
783 B
YAML

sudo: required
language: bash
env:
- FLAKE8=false
- FLAKE8=true
install:
# Dependencies
- sudo apt-get -qq update
- sudo pip install --upgrade -qq pip
- sudo apt-get -qq install cdparanoia cdrdao flac libcdio-dev libiso9660-dev libsndfile1-dev python-cddb python-gobject python-musicbrainzngs python-mutagen python-setuptools sox swig
- sudo pip install pycdio
# Testing dependencies
- sudo apt-get -qq install python-twisted-core
- sudo pip install flake8
# Build bundled C utils
- cd src
- sudo make install
- cd ..
# Installing
- sudo python setup.py install
script:
- if [ ! "$FLAKE8" = true ]; then python -m unittest discover; fi
- if [ "$FLAKE8" = true ]; then flake8 --benchmark --statistics; fi