sintonia/travis/python.sh

17 lines
326 B
Bash
Raw Normal View History

#!/bin/bash
set -xe
[[ "$PYTHON" == false ]] && exit 0
2017-09-17 11:35:36 +02:00
pushd python_apps/airtime_analyzer
2017-09-17 11:40:26 +02:00
pyenv local 2.7
2017-09-17 11:35:36 +02:00
pip install -e .
nosetests -a '!rgain'
echo "replaygain tests where skipped due to not having a reliable replaygain install on travis."
popd
echo "Building docs..."
mkdocs build --clean -q > /dev/null
echo -n "done"