forked from VimPlug/jedi
Another few travis fixes
This commit is contained in:
+2
-1
@@ -31,12 +31,13 @@ matrix:
|
|||||||
# - JEDI_TEST_ENVIRONMENT=39
|
# - JEDI_TEST_ENVIRONMENT=39
|
||||||
install:
|
install:
|
||||||
- pip install --quiet tox-travis
|
- pip install --quiet tox-travis
|
||||||
|
- apt-get install python3-venv
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
# Setup/install Python for $JEDI_TEST_ENVIRONMENT.
|
# Setup/install Python for $JEDI_TEST_ENVIRONMENT.
|
||||||
set -ex
|
set -ex
|
||||||
test_env_version=${JEDI_TEST_ENVIRONMENT:0:1}.${JEDI_TEST_ENVIRONMENT:1:1}
|
test_env_version=${JEDI_TEST_ENVIRONMENT:0:1}.${JEDI_TEST_ENVIRONMENT:1:1}
|
||||||
if [ "$TRAVIS_PYTHON_VERSION" != "$test_env_version" ] && [ "$test_env_version" != "interpreter" ]; then
|
if [ "$TRAVIS_PYTHON_VERSION" != "$test_env_version" ] && [ "$JEDI_TEST_ENVIRONMENT" != "interpreter" ]; then
|
||||||
python_bin=python$test_env_version
|
python_bin=python$test_env_version
|
||||||
python_path="$(which $python_bin || true)"
|
python_path="$(which $python_bin || true)"
|
||||||
if [ -z "$python_path" ]; then
|
if [ -z "$python_path" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user