Use PIP_INSECURE=t only in Python 2.5 test

This commit is contained in:
Takafumi Arakaki
2013-03-12 11:33:01 +01:00
parent de7092d56b
commit e5b660b0a1

View File

@@ -5,8 +5,9 @@ python:
- 2.7
- 3.2
install:
# Needed only for Python 2.5:
- export PIP_INSECURE=t
- if [[ $TRAVIS_PYTHON_VERSION == '2.5' ]]; then
export PIP_INSECURE=t;
fi
- pip install --use-mirrors tox
script:
- export TOXENV=$(echo "$TRAVIS_PYTHON_VERSION" |