From cf2dda45320167fb458628796db8a25fc13febf2 Mon Sep 17 00:00:00 2001 From: Kyle Robbertze Date: Thu, 16 Jan 2020 15:58:20 +0200 Subject: [PATCH] test travis against py3 --- .travis.yml | 11 +++++------ travis/python.sh | 4 ++-- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index e9cd45305..98b47313d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -58,10 +58,9 @@ addons: - liquidsoap-plugin-faad - liquidsoap-plugin-vorbis - liquidsoap-plugin-opus - - python-nose - - python-rgain - - python-gst-1.0 - - python-magic + - python3-nose + - python3-gst-1.0 + - python3-magic - dos2unix install: - > @@ -70,9 +69,9 @@ install: fi - > if [[ "$PYTHON" == true ]]; then - pip install --user mkdocs + pip3 install --user mkdocs rgain3 pushd python_apps/airtime_analyzer - python setup.py install --dry-run --no-init-script + python3 setup.py install --dry-run --no-init-script popd fi before_script: diff --git a/travis/python.sh b/travis/python.sh index 0050005ec..477d277a0 100755 --- a/travis/python.sh +++ b/travis/python.sh @@ -5,8 +5,8 @@ set -xe [[ "$PYTHON" == false ]] && exit 0 pushd python_apps/airtime_analyzer -pyenv local 2.7 -pip install -e . +pyenv local 3.7 +pip3 install -e . nosetests -a '!rgain' echo "replaygain tests where skipped due to not having a reliable replaygain install on travis." popd