From e5b660b0a1d92cc9ce8e3ebf439f782fc6517108 Mon Sep 17 00:00:00 2001 From: Takafumi Arakaki Date: Tue, 12 Mar 2013 11:33:01 +0100 Subject: [PATCH] Use PIP_INSECURE=t only in Python 2.5 test --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7a5adc19..506376d3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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" |