Fix virtual environment tests

This commit is contained in:
micbou
2018-04-09 15:53:16 +02:00
committed by Dave Halter
parent b74ba7cd01
commit 903bdf5fef
3 changed files with 18 additions and 9 deletions

View File

@@ -9,6 +9,14 @@ if [[ $JEDI_TEST_ENVIRONMENT == "35" ]]; then
VERSION=3.5
DOWNLOAD=1
fi
# 3.6 is already installed on Travis but not as root. This is problematic for
# our virtualenv tests because we require the Python used to create a virtual
# environment to be owned by root (or to be in a safe location which is not the
# case here).
if [[ $JEDI_TEST_ENVIRONMENT == "36" ]]; then
VERSION=3.6
DOWNLOAD=1
fi
if [[ -z $VERSION ]]; then
echo "Environments should already be installed"