Merge pull request #298 from radiorabe/fix/python-magic-on-travis

Fix python tests on travis
This commit is contained in:
Robb 2017-09-19 16:17:36 -04:00 committed by GitHub
commit a5e3afe7ee
2 changed files with 4 additions and 1 deletions

View File

@ -47,6 +47,7 @@ addons:
- python-nose - python-nose
- python-rgain - python-rgain
- python-gst-1.0 - python-gst-1.0
- python-magic
- mp3gain - mp3gain
install: install:
- > - >

View File

@ -4,7 +4,9 @@ set -xe
[[ "$PYTHON" == false ]] && exit 0 [[ "$PYTHON" == false ]] && exit 0
pushd python_apps/airtime_analyzer pushd python_apps/airtime_analyzer
pyenv local 2.7
pip install -e .
nosetests -a '!rgain' nosetests -a '!rgain'
echo "replaygain tests where skipped due to not having a reliable replaygain install on travis." echo "replaygain tests where skipped due to not having a reliable replaygain install on travis."
popd popd