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-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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue