test travis against py3
This commit is contained in:
parent
81ad2fc705
commit
cf2dda4532
11
.travis.yml
11
.travis.yml
|
@ -58,10 +58,9 @@ addons:
|
||||||
- liquidsoap-plugin-faad
|
- liquidsoap-plugin-faad
|
||||||
- liquidsoap-plugin-vorbis
|
- liquidsoap-plugin-vorbis
|
||||||
- liquidsoap-plugin-opus
|
- liquidsoap-plugin-opus
|
||||||
- python-nose
|
- python3-nose
|
||||||
- python-rgain
|
- python3-gst-1.0
|
||||||
- python-gst-1.0
|
- python3-magic
|
||||||
- python-magic
|
|
||||||
- dos2unix
|
- dos2unix
|
||||||
install:
|
install:
|
||||||
- >
|
- >
|
||||||
|
@ -70,9 +69,9 @@ install:
|
||||||
fi
|
fi
|
||||||
- >
|
- >
|
||||||
if [[ "$PYTHON" == true ]]; then
|
if [[ "$PYTHON" == true ]]; then
|
||||||
pip install --user mkdocs
|
pip3 install --user mkdocs rgain3
|
||||||
pushd python_apps/airtime_analyzer
|
pushd python_apps/airtime_analyzer
|
||||||
python setup.py install --dry-run --no-init-script
|
python3 setup.py install --dry-run --no-init-script
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
before_script:
|
before_script:
|
||||||
|
|
|
@ -5,8 +5,8 @@ set -xe
|
||||||
[[ "$PYTHON" == false ]] && exit 0
|
[[ "$PYTHON" == false ]] && exit 0
|
||||||
|
|
||||||
pushd python_apps/airtime_analyzer
|
pushd python_apps/airtime_analyzer
|
||||||
pyenv local 2.7
|
pyenv local 3.7
|
||||||
pip install -e .
|
pip3 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
|
||||||
|
|
Loading…
Reference in New Issue