From bd15ba6e6ff6dbd01b7f1ab388fd8d42e14eab89 Mon Sep 17 00:00:00 2001 From: Lucas Bickel Date: Sun, 17 Sep 2017 11:29:26 +0200 Subject: [PATCH 1/3] Add python-magic package in travis build --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 80e7f0318..39525a775 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,6 +47,7 @@ addons: - python-nose - python-rgain - python-gst-1.0 + - python-magic - mp3gain install: - > From 1ba907c5a179ce918bf7b19db974588f55de7243 Mon Sep 17 00:00:00 2001 From: Lucas Bickel Date: Sun, 17 Sep 2017 11:35:36 +0200 Subject: [PATCH 2/3] Install deps for test --- travis/python.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/travis/python.sh b/travis/python.sh index 27e4441f2..dbb92a4b6 100755 --- a/travis/python.sh +++ b/travis/python.sh @@ -4,7 +4,8 @@ set -xe [[ "$PYTHON" == false ]] && exit 0 -pushd python_apps/airtime_analyzer +pushd python_apps/airtime_analyzer +pip install -e . nosetests -a '!rgain' echo "replaygain tests where skipped due to not having a reliable replaygain install on travis." popd From 02ccfea0b4b20d83a6185e89055a3f32ef0933cc Mon Sep 17 00:00:00 2001 From: Lucas Bickel Date: Sun, 17 Sep 2017 11:40:26 +0200 Subject: [PATCH 3/3] Use local 2.7 python --- travis/python.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/travis/python.sh b/travis/python.sh index dbb92a4b6..0050005ec 100755 --- a/travis/python.sh +++ b/travis/python.sh @@ -5,6 +5,7 @@ set -xe [[ "$PYTHON" == false ]] && exit 0 pushd python_apps/airtime_analyzer +pyenv local 2.7 pip install -e . nosetests -a '!rgain' echo "replaygain tests where skipped due to not having a reliable replaygain install on travis."