From 52cb947469e68905db28ca24949f8b309c62486d Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Wed, 10 Aug 2016 19:27:17 +0100 Subject: [PATCH] .travis.sh: skip source venv on linux --- .travis.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.sh b/.travis.sh index 1fa7361d..1030dadf 100755 --- a/.travis.sh +++ b/.travis.sh @@ -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