Handle differences between mutagen 1.33 and 1.34 in travis

For now, allow 1.34 build to fail, but >=1.23,<1.34 must still pass.
This commit is contained in:
Wieland Hoffmann
2016-07-27 17:52:31 +02:00
parent 832ac27f51
commit c3fd992d00

View File

@@ -12,22 +12,23 @@ env:
global:
- PIP_INSTALL="pip install --download-cache='$HOME/.pip/cache'"
matrix:
- DISCID=""
- DISCID="$PIP_INSTALL python-libdiscid"
- DISCID="$PIP_INSTALL discid"
- DISCID="" MUTAGEN="$PIP_INSTALL mutagen>=1.23,<1.34"
- DISCID="$PIP_INSTALL python-libdiscid" MUTAGEN="$PIP_INSTALL mutagen>=1.23,<1.34"
- DISCID="$PIP_INSTALL discid" MUTAGEN="$PIP_INSTALL mutagen>=1.23,<1.34"
- MUTAGEN="$PIP_INSTALL mutagen>=1.34"
matrix:
allow_failures:
- env: MUTAGEN="$PIP_INSTALL mutagen>=1.34"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq python-qt4
- sudo apt-get install -qq libdiscid0 libdiscid0-dev
install:
# Install dependencies
- $PIP_INSTALL 'Mutagen>=1.23'
- $MUTAGEN
- $DISCID
# Set up Picard
- python setup.py build_ext -i
- python setup.py build_locales -i
# Run the tests!
script: "python setup.py test"
# Tell people that tests were run
notifications:
irc: "chat.freenode.net#metabrainz"