.travis.sh: skip source venv on linux

This commit is contained in:
Cosimo Lupo 2016-08-10 19:27:17 +01:00
parent 13b8e7ff60
commit 52cb947469

View File

@ -36,7 +36,9 @@ case "$1" in
ctest -V
;;
"python")
source venv/bin/activate
if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
source venv/bin/activate
fi
python setup.py build_ext test
;;
esac