.travis.sh: activate virtualenv before calling python or pip commands

This commit is contained in:
Cosimo Lupo 2016-08-10 18:05:38 +01:00
parent 014f651114
commit a5bf2c0bdd

View File

@ -36,13 +36,15 @@ case "$1" in
ctest -V
;;
"python")
python setup.py build_ext test
source venv/bin/activate
python setup.py build_ext test
;;
esac
;;
"after_success")
case "${BUILD_SYSTEM}" in
"python")
source venv/bin/activate
pip wheel -w dist .
;;
esac